diff options
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/cldap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libads/cldap.c b/source3/libads/cldap.c index 5f7f1b179f..81901d2fd3 100644 --- a/source3/libads/cldap.c +++ b/source3/libads/cldap.c @@ -160,6 +160,7 @@ static int send_cldap_netlogon(int sock, const char *domain, if (write(sock, data.data, data.length) != (ssize_t)data.length) { DEBUG(2,("failed to send cldap query (%s)\n", strerror(errno))); + return -1; } asn1_free(&data); |