summaryrefslogtreecommitdiff
blob: a760bd6ce79e68e15f126cc80b58868b0c84461a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/xradius_cache.c.orig	2013-06-10 10:02:53.263071428 +0100
+++ src/xradius_cache.c	2013-06-10 10:03:45.789072216 +0100
@@ -143,9 +143,9 @@
     /* Running as Root */
     if (geteuid() == 0)  {
         /* Allow the configured Apache use to read/write to the DBM */
-        chown(path1, unixd_config.user_id, -1);
+        chown(path1, ap_unixd_config.user_id, -1);
         if (path2 != NULL) { 
-            chown(path2, unixd_config.user_id, -1);
+            chown(path2, ap_unixd_config.user_id, -1);
         }
     }
 #endif