diff options
author | Pierre Ossman <ossman@cendio.se> | 2006-01-10 09:16:39 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2006-01-10 09:16:39 +0000 |
commit | 11c6cac3241bf7bc647f3e8b7da751e0c88982ea (patch) | |
tree | 4abdee20ad5d443781bead2ebc9388c382e46c91 | |
parent | abdf9b1c3fb371637c73fa635d089178dea5d902 (diff) |
buf is needed on Windows aswell.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@440 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r-- | polyp/util.c | 2 |
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 |