211
211
control_getline(struct mystr* p_str, struct vsf_session* p_sess)
213
214
if (p_sess->p_control_line_buf == 0)
215
216
vsf_secbuf_alloc(&p_sess->p_control_line_buf, VSFTP_MAX_COMMAND_LINE);
218
223
/* As mandated by the FTP specifications.. */
219
224
str_replace_char(p_str, '\0', '\n');
220
225
/* If the last character is a \r, strip it */