]> code.delx.au - pulseaudio/commitdiff
Forgot to protect one access to with_creds with an ifdef.
authorPierre Ossman <ossman@cendio.se>
Mon, 17 Jul 2006 11:42:25 +0000 (11:42 +0000)
committerPierre Ossman <ossman@cendio.se>
Mon, 17 Jul 2006 11:42:25 +0000 (11:42 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1098 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/pulsecore/pstream.c

index e9b6f4c807507f94d4c04c47de214cf87dc9ab74..7992ccb660dcd9b6b0605dd352777e0a735e880e 100644 (file)
@@ -291,7 +291,9 @@ void pa_pstream_send_memblock(pa_pstream*p, uint32_t channel, int64_t offset, pa
     i->channel = channel;
     i->offset = offset;
     i->seek_mode = seek_mode;
+#ifdef SCM_CREDENTIALS
     i->with_creds = 0;
+#endif
 
     pa_memblock_ref(i->chunk.memblock);