diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-01-11 17:49:03 +0900 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-01-11 17:49:03 +0900 |
commit | 9b3d5f87e7718b00f786531b58bf102cdadc8264 (patch) | |
tree | 51c445bbfd347353bcbc1412aaec654819739555 /door.c | |
parent | 4e148546810a2902dff9444526e47c9569c79b64 (diff) | |
download | microbbs-9b3d5f87e7718b00f786531b58bf102cdadc8264.tar.gz microbbs-9b3d5f87e7718b00f786531b58bf102cdadc8264.zip |
Added primitive authentification support
Diffstat (limited to 'door.c')
-rw-r--r-- | door.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -88,6 +88,8 @@ int bbs_door( term_screen *ts, const char *dir_name ) sds pathname = sds_new( door_game_dir ); sds_cat( pathname, d_name ); + //!!!possible memleak unfreed d_name? + //check if its file term_cur_set_c( ts, 0 ); if ( stat( pathname, &path_node ) == 0 ) |