Tell core that we want to have this packet delivered
[oweals/gnunet.git] / src / util / connection.c
index 6067380619869f0547adae1ff47c783ee1f81ffc..aa5db91bf41e1a14976a4c1ce21f4584635ce5a5 100644 (file)
@@ -499,7 +499,8 @@ destroy_continuation (void *cls,
       if (sock->persist != GNUNET_YES)
       {
         if ( (GNUNET_YES != GNUNET_NETWORK_socket_shutdown (sock->sock, SHUT_RDWR)) &&
-            (errno != ENOTCON) )
+            (errno != ENOTCONN) &&
+             (errno != ECONNRESET) )
           GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "shutdown");
       }
     }