Revision 1798 trunk/nntpgrab_core/nntpconnection.c

nntpconnection.c (revision 1798)
1671 1671
            disconnect_type = DISCONNECT_CONNECTION_REFUSED;
1672 1672
        }
1673 1673

                
1674
#ifdef WIN32
1675
        nntpconnection_disconnect_from_server(conn, disconnect_type, WSAGetStrError(last_errno), __FILE__, __LINE__);
1676
#else
1674 1677
        nntpconnection_disconnect_from_server(conn, disconnect_type, strerror(last_errno), __FILE__, __LINE__);
1678
#endif
1675 1679

                
1676 1680
        res = res->ai_next;
1677 1681
    }

Also available in: Unified diff