summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorivan <ivan@13f79535-47bb-0310-9956-ffa450edef68>2019-06-11 16:58:52 +0000
committerivan <ivan@13f79535-47bb-0310-9956-ffa450edef68>2019-06-11 16:58:52 +0000
commit6139b56893e2dcc6748551b8a7b484608fef328a (patch)
treea419ad0848aec1268773bea1b5b9710bcbc6236f /misc
parentd21afea0fb5ee8074ca1ad6ef43838cc949f1787 (diff)
downloadlibapr-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')
-rw-r--r--misc/win32/misc.c2
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;
}