diff --git a/src/email.c b/src/email.c
index 0e34b89f4661a870fa2032868f0e902f5e87911a..ca4dbc2c34706405b7626be0e882559fef3d947c 100644 (file)
--- a/src/email.c
+++ b/src/email.c
}
connection = malloc (sizeof (*connection));
- if (connection != NULL)
+ if (connection == NULL)
{
close (remote);
continue;