diff --git a/src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp b/src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp index f326241831..6acfbf97a6 100644 --- a/src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp +++ b/src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp @@ -158,7 +158,7 @@ POP3Protocol::Open(const char *server, int port, int) #ifdef BONE close(conn); #else - closesocket(net); + closesocket(conn); #endif runner->Stop(true); return B_ERROR;