summaryrefslogtreecommitdiff
path: root/src/clinet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/clinet.c')
-rw-r--r--src/clinet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/clinet.c b/src/clinet.c
index 4e4767e..010a884 100644
--- a/src/clinet.c
+++ b/src/clinet.c
@@ -92,6 +92,7 @@ int dcc_connect_by_addr(struct sockaddr *sa, size_t salen,
int tries = 3;
dcc_sockaddr_to_string(sa, salen, &s);
+ if (s == NULL) return EXIT_OUT_OF_MEMORY;
rs_trace("started connecting to %s", s);