aboutsummaryrefslogtreecommitdiff
path: root/www/gatling/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-15 20:09:18 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-15 20:09:18 +0000
commit6753d290bb60a7554cc02b3b2a7ae99f8fe97690 (patch)
treeae24aa25f57db4afc72195b95497fad340883b2b /www/gatling/files
parent9aea7f06ebe48258a0cd4b7151141ff00db43b36 (diff)
downloadports-6753d290bb60a7554cc02b3b2a7ae99f8fe97690.tar.gz
ports-6753d290bb60a7554cc02b3b2a7ae99f8fe97690.zip
Notes
Diffstat (limited to 'www/gatling/files')
-rw-r--r--www/gatling/files/patch-gatling.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/www/gatling/files/patch-gatling.c b/www/gatling/files/patch-gatling.c
index 833a5b36f75a..9d9c2f94306c 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;
+ }