Fix another double-close
authorColin Leroy <colin@colino.net>
Sun, 8 Jun 2014 07:55:41 +0000 (09:55 +0200)
committerColin Leroy <colin@colino.net>
Sun, 8 Jun 2014 07:55:41 +0000 (09:55 +0200)
src/plugins/clamd/libclamd/clamd-plugin.c

index b11554d325c90f2519a4a26aeed60e73f23437d5..80bf1e91c6c3cb570a57487fbc89080d904bf39c 100644 (file)
@@ -509,7 +509,6 @@ Clamd_Stat clamd_verify_email(const gchar* path, response* result) {
                        result->msg = g_strdup(tmp);
                        g_free(tmp);
                        debug_print("result: %s\n", result->msg);
                        result->msg = g_strdup(tmp);
                        g_free(tmp);
                        debug_print("result: %s\n", result->msg);
-                       close(sock);
                        return stat;
                }
                debug_print("copy to buf: %s\n", tmp);
                        return stat;
                }
                debug_print("copy to buf: %s\n", tmp);