diff options
author | nork <nork@FreeBSD.org> | 2003-04-12 04:32:58 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2003-04-12 04:32:58 +0800 |
commit | 45d0573e8a1415228a8bb499a504d30974e16a1c (patch) | |
tree | 9f816531d972e96410b902ce5f1e142f043a4d96 /ftp/fmirror/files | |
parent | 7da337ea346bab5543f461fe29c86b366ac7344f (diff) | |
download | freebsd-ports-gnome-45d0573e8a1415228a8bb499a504d30974e16a1c.tar.gz freebsd-ports-gnome-45d0573e8a1415228a8bb499a504d30974e16a1c.tar.zst freebsd-ports-gnome-45d0573e8a1415228a8bb499a504d30974e16a1c.zip |
Contain '\r' with FTP commands.
PR: ports/50836
Submitted by: Xavier Beaudouin <kiwi@oav.net> (maintainer)
Diffstat (limited to 'ftp/fmirror/files')
-rw-r--r-- | ftp/fmirror/files/patch-aa | 11 |
1 files changed, 11 insertions, 0 deletions
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)); |