D | ftpget.c | 152 char *pch; in verify_pasv_mode() local 161 if (!(pch = strrchr(toybuf, ')'))) goto close_stream; in verify_pasv_mode() 162 *pch = '\0'; in verify_pasv_mode() 163 if (!(pch = strrchr(toybuf, ','))) goto close_stream; in verify_pasv_mode() 164 *pch = '\0'; in verify_pasv_mode() 166 portnum = atolx_range(pch + 1, 0, 255); in verify_pasv_mode() 168 if (!(pch = strrchr(toybuf, ','))) goto close_stream; in verify_pasv_mode() 169 *pch = '\0'; in verify_pasv_mode() 170 portnum = portnum + (atolx_range(pch + 1, 0, 255) * 256); in verify_pasv_mode()
|