mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
minor compile work
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@33 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
3b50a7c129
commit
b9e0fa84f3
2 changed files with 4 additions and 1 deletions
|
|
@ -110,6 +110,7 @@ static int do_connect(struct socket_client *c, const struct sockaddr *sa, sockle
|
|||
struct socket_client* socket_client_new_ipv4(struct pa_mainloop_api *m, uint32_t address, uint16_t port) {
|
||||
struct socket_client *c;
|
||||
struct sockaddr_in sa;
|
||||
assert(m && address && port);
|
||||
|
||||
c = socket_client_new(m);
|
||||
assert(c);
|
||||
|
|
@ -136,6 +137,7 @@ fail:
|
|||
struct socket_client* socket_client_new_unix(struct pa_mainloop_api *m, const char *filename) {
|
||||
struct socket_client *c;
|
||||
struct sockaddr_un sa;
|
||||
assert(m && filename);
|
||||
|
||||
c = socket_client_new(m);
|
||||
assert(c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue