summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/win32/groupinfo.c4
-rw-r--r--user/win32/userinfo.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/user/win32/groupinfo.c b/user/win32/groupinfo.c
index 7739a5428..585642f07 100644
--- a/user/win32/groupinfo.c
+++ b/user/win32/groupinfo.c
@@ -36,11 +36,11 @@ APR_DECLARE(apr_status_t) apr_gid_get(apr_gid_t *gid,
DWORD rv;
char *pos;
- if (pos = strchr(groupname, '/')) {
+ if ((pos = strchr(groupname, '/'))) {
domain = apr_pstrndup(p, groupname, pos - groupname);
groupname = pos + 1;
}
- else if (pos = strchr(groupname, '\\')) {
+ else if ((pos = strchr(groupname, '\\'))) {
domain = apr_pstrndup(p, groupname, pos - groupname);
groupname = pos + 1;
}
diff --git a/user/win32/userinfo.c b/user/win32/userinfo.c
index d09aaae83..f343d9582 100644
--- a/user/win32/userinfo.c
+++ b/user/win32/userinfo.c
@@ -30,7 +30,7 @@
* depends on IsValidSid(), which internally we better test long
* before we get here!
*/
-void get_sid_string(char *buf, apr_size_t blen, apr_uid_t id)
+static void get_sid_string(char *buf, apr_size_t blen, apr_uid_t id)
{
PSID_IDENTIFIER_AUTHORITY psia;
DWORD nsa;