Skip to content

Commit

Permalink
optarg is from unistd.h, use opt_arg from apr_getopt().
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916148 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
jfclere committed Mar 6, 2024
1 parent 74ed4a2 commit 2ae427e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/ab.c
Original file line number Diff line number Diff line change
Expand Up @@ -3068,7 +3068,7 @@ int main(int argc, const char * const argv[])
keepalive = 1;
break;
case 'o':
src_address = strdup(optarg);
src_address = strdup(opt_arg);
break;
case 'q':
heartbeatres = 0;
Expand Down

0 comments on commit 2ae427e

Please sign in to comment.