1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

- Correct the return code given for successful FTP CWD requests

- Bump PORTREVISION

PR:		ports/64309
Submitted by:	maintainer
This commit is contained in:
Kirill Ponomarev 2004-03-15 20:09:18 +00:00
parent 9aea7f06eb
commit 6753d290bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104107
2 changed files with 10 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= gatling
PORTVERSION= 0.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www benchmarks
MASTER_SITES= http://dl.fefe.de/

View File

@ -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;
}