summaryrefslogtreecommitdiffstats
path: root/polyp/socket-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/socket-client.c')
-rw-r--r--polyp/socket-client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/polyp/socket-client.c b/polyp/socket-client.c
index 3852c1ad..25940122 100644
--- a/polyp/socket-client.c
+++ b/polyp/socket-client.c
@@ -65,7 +65,8 @@ static struct pa_socket_client*pa_socket_client_new(struct pa_mainloop_api *m) {
static void do_call(struct pa_socket_client *c) {
struct pa_iochannel *io = NULL;
- int error, lerror;
+ int error;
+ socklen_t lerror;
assert(c && c->callback);
pa_socket_client_ref(c);