diff options
author | krion <krion@FreeBSD.org> | 2004-03-16 04:09:18 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-03-16 04:09:18 +0800 |
commit | 79c2fef04b81f0c8a82d7d74e98de6b70e6151dc (patch) | |
tree | 2711d9da256af2afe8a3c81a21ab6bec50b9a233 | |
parent | 8ee5f17ec6f5bcf3aa14c4dbd13383b02e5ccfe9 (diff) | |
download | freebsd-ports-graphics-79c2fef04b81f0c8a82d7d74e98de6b70e6151dc.tar.gz freebsd-ports-graphics-79c2fef04b81f0c8a82d7d74e98de6b70e6151dc.tar.zst freebsd-ports-graphics-79c2fef04b81f0c8a82d7d74e98de6b70e6151dc.zip |
- Correct the return code given for successful FTP CWD requests
- Bump PORTREVISION
PR: ports/64309
Submitted by: maintainer
-rw-r--r-- | www/gatling/Makefile | 2 | ||||
-rw-r--r-- | www/gatling/files/patch-gatling.c | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/www/gatling/Makefile b/www/gatling/Makefile index ad00e8ab8dc..65e35ef32b5 100644 --- a/www/gatling/Makefile +++ b/www/gatling/Makefile @@ -7,7 +7,7 @@ PORTNAME= gatling PORTVERSION= 0.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www benchmarks MASTER_SITES= http://dl.fefe.de/ diff --git a/www/gatling/files/patch-gatling.c b/www/gatling/files/patch-gatling.c index 833a5b36f75..9d9c2f94306 100644 --- a/www/gatling/files/patch-gatling.c +++ b/www/gatling/files/patch-gatling.c @@ -1,4 +1,5 @@ ! Fix a filedescriptor leak. This change requires libowfat-0.18 +! Correct return code for FTP CWD ! Obtained from gatling cvs --- gatling.c.orig Fri Feb 27 16:09:53 2004 +++ gatling.c Fri Feb 27 16:13:28 2004 @@ -20,3 +21,11 @@ if (logging) { buffer_putulonglong(buffer_1,range_last-range_first); buffer_putspace(buffer_1); +@@ -1428,7 +1428,7 @@ + } + y[fmt_str(y,x)]=0; + h->ftppath=y; +- h->hdrbuf="200 ok.\r\n"; ++ h->hdrbuf="250 ok.\r\n"; + return 0; + } |