]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Receive.pm
(no commit message)
[git.ikiwiki.info.git] / IkiWiki / Receive.pm
index 5908e09f953ad09cb576cae6c956230be497d6df..332ba7c2c378d45123c915115c243379940e9bbf 100644 (file)
@@ -46,8 +46,8 @@ EOF
                        while (read(0, &buf, 256) != 0) {}
                        exit(0);
                }
                        while (read(0, &buf, 256) != 0) {}
                        exit(0);
                }
-               asprintf(&s, "CALLER_UID=%i", u);
-               newenviron[i++]=s;
+               asprintf(&s, "%i", u);
+               addenv("CALLER_UID", s);
        }
 EOF
        return $ret;
        }
 EOF
        return $ret;