mirror of
https://github.com/Motion-Project/motion.git
synced 2026-04-18 21:17:04 -04:00
Fix for ftp_send_type - was missing type param
Author: mterzo
2dbff19b9d
This commit is contained in:
@@ -789,7 +789,7 @@ int ftp_send_type(ftp_context_pointer ctxt, char type)
|
||||
|
||||
toupper(type);
|
||||
/* Assure transfer will be in "image" mode. */
|
||||
snprintf(buf, sizeof(buf), "TYPE I\r\n");
|
||||
snprintf(buf, sizeof(buf), "TYPE %c\r\n", utype);
|
||||
len = strlen(buf);
|
||||
res = send(ctxt->control_file_desc, buf, len, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user