From 11c6cac3241bf7bc647f3e8b7da751e0c88982ea Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 10 Jan 2006 09:16:39 +0000 Subject: [PATCH] buf is needed on Windows aswell. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@440 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polyp/util.c b/polyp/util.c index 569412d06..26d712037 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