diff options
author | ivan <ivan@13f79535-47bb-0310-9956-ffa450edef68> | 2019-06-11 16:58:52 +0000 |
---|---|---|
committer | ivan <ivan@13f79535-47bb-0310-9956-ffa450edef68> | 2019-06-11 16:58:52 +0000 |
commit | 6139b56893e2dcc6748551b8a7b484608fef328a (patch) | |
tree | a419ad0848aec1268773bea1b5b9710bcbc6236f /misc/win32 | |
parent | d21afea0fb5ee8074ca1ad6ef43838cc949f1787 (diff) | |
download | libapr-6139b56893e2dcc6748551b8a7b484608fef328a.tar.gz |
* misc/win32/misc.c
(apr_get_oslevel): Fix condition to actually return APR_EGENERAL on
unsupported OS.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1861050 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc/win32')
-rw-r--r-- | misc/win32/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/win32/misc.c b/misc/win32/misc.c index 630147b43..6f0b22f33 100644 --- a/misc/win32/misc.c +++ b/misc/win32/misc.c @@ -116,7 +116,7 @@ apr_status_t apr_get_oslevel(apr_oslevel_e *level) *level = apr_os_level; - if (apr_os_level < APR_WIN_UNSUP) { + if (apr_os_level <= APR_WIN_UNSUP) { return APR_EGENERAL; } |