summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polyp/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/util.c b/polyp/util.c
index 569412d0..26d71203 100644
--- a/polyp/util.c
+++ b/polyp/util.c
@@ -321,9 +321,9 @@ char *pa_vsprintf_malloc(const char *format, va_list ap) {
/* Return the current username in the specified string buffer. */
char *pa_get_user_name(char *s, size_t l) {
char *p;
+ char buf[1024];
#ifdef HAVE_PWD_H
- char buf[1024];
struct passwd pw, *r;
#endif