]> git.pld-linux.org Git - packages/apache-mod_ruid2.git/blobdiff - apache-mod_ruid2-stat-rgroups.patch
- updated to 0.9.6
[packages/apache-mod_ruid2.git] / apache-mod_ruid2-stat-rgroups.patch
index 6ff177f9e7c491cd261734cd2ecfc7dae638beaf..254ef3a0d42cfd166299b964693a6ab2a42a24b7 100644 (file)
@@ -1,10 +1,10 @@
 --- mod_ruid2-0.9.4/mod_ruid2.c~       2011-02-24 15:25:28.000000000 +0100
 +++ mod_ruid2-0.9.4/mod_ruid2.c        2011-03-11 14:15:26.915053808 +0100
 @@ -123,6 +123,10 @@
-               conf->ruid_uid=RUID_DEFAULT_UID;
-               conf->ruid_gid=RUID_DEFAULT_GID;
-               conf->groupsnr=0;
-+              if (child->groupsnr != 0) {
+               conf->ruid_uid=UNSET;
+               conf->ruid_gid=UNSET;
+               conf->groupsnr=UNSET;
++              if (child->groupsnr > 0) {
 +                      memcpy(conf->groups, child->groups, sizeof(child->groups));
 +                      conf->groupsnr = child->groupsnr;
 +              }
This page took 0.062924 seconds and 4 git commands to generate.