diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2013-07-28 05:06:53 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2013-07-28 05:06:53 +0000 |
| commit | f2be5817e9c3cb98a81689acb42dc6549ae0448f (patch) | |
| tree | 3c0eb477642c8cddce38b6c98c437cca2f2cbda9 /threadproc/unix | |
| parent | b641829dcad12c65ed87cf0ebe11100791b9256a (diff) | |
Diffstat (limited to 'threadproc/unix')
| -rw-r--r-- | threadproc/unix/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/threadproc/unix/thread.c b/threadproc/unix/thread.c index 5639ac706873b..6d060be55e7e0 100644 --- a/threadproc/unix/thread.c +++ b/threadproc/unix/thread.c @@ -96,7 +96,7 @@ APR_DECLARE(apr_status_t) apr_threadattr_detach_get(apr_threadattr_t *attr) #else pthread_attr_getdetachstate(&attr->attr, &state); #endif - if (state == 1) + if (state == DETACH_ARG(1)) return APR_DETACH; return APR_NOTDETACH; } |
