Home | History | Annotate | Download | only in pending

Lines Matching full:close_stream

75 static void close_stream(char *msg_str)
101 if (!fgets(toybuf, sizeof(toybuf)-1, TT.sockfp)) close_stream(NULL);
115 if (get_ftp_response(NULL, NULL) != FTPSERVER_READY) close_stream(NULL);
121 close_stream("PASS");
123 else close_stream("USER");
126 close_stream("TYPE I");
156 if (get_ftp_response("PASV", NULL) != PASSIVE_MODE) goto close_stream;
161 if (!(pch = strrchr(toybuf, ')'))) goto close_stream;
163 if (!(pch = strrchr(toybuf, ','))) goto close_stream;
168 if (!(pch = strrchr(toybuf, ','))) goto close_stream;
177 close_stream:
178 close_stream("PASV");
224 close_stream("RETR");
236 if (get_ftp_response(NULL, NULL) != CLOSE_DATACONECTION) close_stream(NULL);
258 if (get_ftp_response(NULL, NULL) != CLOSE_DATACONECTION) close_stream(NULL);
263 close_stream("STOR");