diff options
author | Ryan Bloom <rbb@apache.org> | 1999-12-03 15:18:49 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 1999-12-03 15:18:49 +0000 |
commit | 7fb52f21647d9018b2ef6a3d405789dc6c8a7731 (patch) | |
tree | 0c1f9343452dc2ccbcbd08ab07346ecc1ae8d293 /test/testargs.c | |
parent | 801cd47851e4881d960a05b4c03f891c1e2b2e01 (diff) | |
download | apr-7fb52f21647d9018b2ef6a3d405789dc6c8a7731.tar.gz |
Fix the logic in blocking vs non-blocking pipes to children. It only
makes sense to change the blocking attributes of a pipe if we actually
are successful in creating the pipe.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59501 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testargs.c')
-rw-r--r-- | test/testargs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testargs.c b/test/testargs.c index 2f5b6bfd6..628563552 100644 --- a/test/testargs.c +++ b/test/testargs.c @@ -81,7 +81,7 @@ int main(int argc, char * const argv[]) break; case 'd': printf("option %c", data); - if (optarg) { + if (ap_optarg) { printf(" with %s\n", ap_optarg); } else { |