client: verify connection state in pa_stream_connect_upload()
authorLennart Poettering <lennart@poettering.net>
Tue, 12 Jan 2010 02:01:27 +0000 (03:01 +0100)
committerColin Guthrie <cguthrie@mandriva.org>
Tue, 9 Feb 2010 22:31:01 +0000 (22:31 +0000)
commit9ac12b7048b466effa551bd707648f66df18fe8a
tree274de400da62bc7168891cf75e53c110072e8686
parent7ab9bea29dc9b3174be6b6a3a557c934b8265533
client: verify connection state in pa_stream_connect_upload()

Make suer we check the connection state before going on, so that we can
rely that s->context->pstream is properly initialized.

https://bugzilla.redhat.com/show_bug.cgi?id=539500
src/pulse/scache.c