diff options
Diffstat (limited to 'libglusterfs/src')
-rw-r--r-- | libglusterfs/src/events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/events.c b/libglusterfs/src/events.c index 7c20c32ad6e..5a1b4c06e57 100644 --- a/libglusterfs/src/events.c +++ b/libglusterfs/src/events.c @@ -108,6 +108,7 @@ _gf_event (eventtypes_t event, const char *fmt, ...) if (sendto (sock, eventstr, strlen (eventstr), 0, (struct sockaddr *)&server, sizeof (server)) <= 0) { ret = EVENT_ERROR_SEND; + goto out; } ret = EVENT_SEND_OK; |