From f5afb7b6d06d78e63e714cbf3617b1bd372b2e7d Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 17 Jul 2006 11:42:25 +0000 Subject: 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 --- src/pulsecore/pstream.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/pulsecore') 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); -- cgit