Skip to content

Commit 2ae427e

Browse files
committed
optarg is from unistd.h, use opt_arg from apr_getopt(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916148 13f79535-47bb-0310-9956-ffa450edef68
1 parent 74ed4a2 commit 2ae427e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

support/ab.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3068,7 +3068,7 @@ int main(int argc, const char * const argv[])
30683068
keepalive = 1;
30693069
break;
30703070
case 'o':
3071-
src_address = strdup(optarg);
3071+
src_address = strdup(opt_arg);
30723072
break;
30733073
case 'q':
30743074
heartbeatres = 0;

0 commit comments

Comments
 (0)