projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7ed33ce
)
by Harry Coin: fix implementation - this buffer was missing.
author
Wilfried Goesgens
<dothebart@citadel.org>
Mon, 30 Mar 2015 20:57:37 +0000
(22:57 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Mon, 30 Mar 2015 20:57:37 +0000
(22:57 +0200)
webcit/sysdep.c
patch
|
blob
|
history
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