projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
by Harry Coin: fix implementation - this buffer was missing.
[citadel.git]
/
webcit
/
sysdep.c
diff --git
a/webcit/sysdep.c
b/webcit/sysdep.c
index 94314a25cfdefff982f76f9fee59710c1e713674..4b8f4c6a681213f05ecfbe7bebb4c9a2e8d63363 100644
(file)
--- a/
webcit/sysdep.c
+++ b/
webcit/sysdep.c
@@
-557,6
+557,9
@@
webcit_calc_dirs_n_files(int relh, const char *basedir, int home, char *webcitdi
void drop_root(uid_t UID)
{
struct passwd pw, *pwp = NULL;
void drop_root(uid_t UID)
{
struct passwd pw, *pwp = NULL;
+#ifdef HAVE_GETPWUID_R
+ char pwbuf[SIZ];
+#endif
/*
* Now that we've bound the sockets, change to the Citadel user id and its
/*
* Now that we've bound the sockets, change to the Citadel user id and its