From 45d0573e8a1415228a8bb499a504d30974e16a1c Mon Sep 17 00:00:00 2001 From: nork Date: Fri, 11 Apr 2003 20:32:58 +0000 Subject: Contain '\r' with FTP commands. PR: ports/50836 Submitted by: Xavier Beaudouin (maintainer) --- ftp/fmirror/files/patch-aa | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ftp/fmirror/files/patch-aa (limited to 'ftp/fmirror/files') diff --git a/ftp/fmirror/files/patch-aa b/ftp/fmirror/files/patch-aa new file mode 100644 index 000000000000..a5f5f4b4d40a --- /dev/null +++ b/ftp/fmirror/files/patch-aa @@ -0,0 +1,11 @@ +--- fmirror.c.old Fri Apr 11 21:37:09 2003 ++++ fmirror.c Fri Apr 11 21:39:33 2003 +@@ -642,7 +642,7 @@ + va_list args; + va_start(args, format); + vsprintf(buffer, format, args); +- l = fprintf(out_file, "%s\n", buffer); ++ l = fprintf(out_file, "%s\r\n", buffer); + fflush(out_file); + buffer[l - 1] = 0; + LOG(6, cmd, ("---> %s", buffer)); -- cgit