summaryrefslogtreecommitdiffstats
path: root/src/socket-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket-client.c')
-rw-r--r--src/socket-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket-client.c b/src/socket-client.c
index 42859392..b10f8ab1 100644
--- a/src/socket-client.c
+++ b/src/socket-client.c
@@ -101,7 +101,7 @@ static int do_connect(struct socket_client *c, const struct sockaddr *sa, sockle
assert(c->io_source);
} else {
c->fixed_source = c->mainloop->source_fixed(c->mainloop, connect_fixed_cb, c);
- assert(c->io_source);
+ assert(c->fixed_source);
}
return 0;