--- parser3/src/lib/smtp/smtp.C 2004/02/24 12:21:12 1.7 +++ parser3/src/lib/smtp/smtp.C 2013/07/22 15:17:06 1.10 @@ -1,17 +1,17 @@ /** @file Parser: SMTP sender. - Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) Parts of the code here is based upon an early gensock and blat */ -static const char * const IDENT_SMTP_C="$Date: 2004/02/24 12:21:12 $"; - #include "pa_exception.h" #include "smtp.h" +volatile const char * IDENT_SMTP_C="$Id: smtp.C,v 1.10 2013/07/22 15:17:06 moko Exp $" IDENT_SMTP_H; + #undef snprintf // pa_common.C extern int __snprintf(char *, size_t, const char* , ...); @@ -98,7 +98,7 @@ GetBuffer(int wait) if( (retval = select(1+the_socket, &fds, NULL, NULL, &timeout))<0 ) { -#ifdef WIN32 +#ifdef _MSC_VER int error_code = WSAGetLastError(); if( error_code == WSAEINPROGRESS && wait )