summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-07-17 11:42:25 +0000
committerPierre Ossman <ossman@cendio.se>2006-07-17 11:42:25 +0000
commitf5afb7b6d06d78e63e714cbf3617b1bd372b2e7d (patch)
treeb7e88393f81c4fd25655a9103f4c8dd5cb752cfd /src
parent4b352e5fac5ff546315139f7b791074261544f66 (diff)
Forgot to protect one access to with_creds with an ifdef.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1098 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src')
-rw-r--r--src/pulsecore/pstream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/pstream.c b/src/pulsecore/pstream.c
index e9b6f4c8..7992ccb6 100644
--- a/src/pulsecore/pstream.c
+++ b/src/pulsecore/pstream.c
@@ -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);