Mercurial > dropbear
comparison svr-main.c @ 1677:e05c0e394f1d
Make DEBUG_NOFORK a #if not #ifdef
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 21 May 2020 22:58:56 +0800 |
parents | 60fceff95858 |
children | 3f80da5fe0b4 |
comparison
equal
deleted
inserted
replaced
1676:d5cdc60db08e | 1677:e05c0e394f1d |
---|---|
271 if (pipe(childpipe) < 0) { | 271 if (pipe(childpipe) < 0) { |
272 TRACE(("error creating child pipe")) | 272 TRACE(("error creating child pipe")) |
273 goto out; | 273 goto out; |
274 } | 274 } |
275 | 275 |
276 #ifdef DEBUG_NOFORK | 276 #if DEBUG_NOFORK |
277 fork_ret = 0; | 277 fork_ret = 0; |
278 #else | 278 #else |
279 fork_ret = fork(); | 279 fork_ret = fork(); |
280 #endif | 280 #endif |
281 if (fork_ret < 0) { | 281 if (fork_ret < 0) { |