--- Youbin-Unix/server.c 2003-05-08 12:34:45.000000000 +0900 +++ Youbin-Unix-new/server.c 2008-08-08 13:19:19.837394950 +0900 @@ -49,6 +49,7 @@ #include /* For getpwuid(). */ #include #include +#include #include "youbin.h" #include "server.h" @@ -358,8 +359,9 @@ } #endif if( !(sp->mode.head_list) ) { + fclose(fi); send_packet(buff, sp); /* Send header and so on. */ - retrun; + return; } line = buff + strlen(buff);