Diff for /parser3/src/main/pa_socks.C between versions 1.11 and 1.18

version 1.11, 2002/02/07 17:48:12 version 1.18, 2003/01/21 15:51:15
Line 1 Line 1
 /**     @file  /**     @file
         Parser: socks initialization/finalization.          Parser: socks initialization/finalization.
   
         Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)          Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com)
         Author: Alexander Petrosyan <paf@design.ru> (http://paf.design.ru)          Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
   
         $Id$  
 */  */
   
   static const char* IDENT_SOCKS_C="$Date$";
   
 #define NO_UNISTD_H  #define NO_UNISTD_H
 #include "pa_config_includes.h"  #include "pa_config_includes.h"
   
 #ifndef HAVE_SYS_SELECT_H  #ifdef HAVE_WINSOCK_H
 #include "pa_exception.h"  #include "pa_exception.h"
 #include "pa_socks.h"  #include "pa_socks.h"
   
Line 27  void init_socks(Pool& pool) { Line 27  void init_socks(Pool& pool) {
         if ( err != 0 ) {          if ( err != 0 ) {
             /* Tell the user that we could not find a usable */              /* Tell the user that we could not find a usable */
                 /* WinSock DLL.                                  */                      /* WinSock DLL.                                  */    
                 throw Exception(0, 0,                  throw Exception(0,
                         0,                          0,
                         "can not WSAStartup, err=%d",                           "can not WSAStartup, err=%d", 
                                 err);                                  err);

Removed from v.1.11  
changed lines
  Added in v.1.18


E-mail: