httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: httpd-2.0/modules/arch/netware mod_nw_ssl.c
Date Tue, 16 Mar 2004 02:49:15 GMT
bnicholes    2004/03/15 18:49:15

  Modified:    modules/arch/netware mod_nw_ssl.c
  Log:
  Report the NetWare socket error since we are using native socket calls
  
  Revision  Changes    Path
  1.19      +4 -4      httpd-2.0/modules/arch/netware/mod_nw_ssl.c
  
  Index: mod_nw_ssl.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/arch/netware/mod_nw_ssl.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- mod_nw_ssl.c	7 Mar 2004 03:08:21 -0000	1.18
  +++ mod_nw_ssl.c	16 Mar 2004 02:49:15 -0000	1.19
  @@ -224,7 +224,7 @@
               (LPWSAPROTOCOL_INFO)&SecureProtoInfo, 0, 0);
               
       if (s == INVALID_SOCKET) {
  -        ap_log_error(APLOG_MARK, APLOG_CRIT, apr_get_netos_error(), sconf,
  +        ap_log_error(APLOG_MARK, APLOG_CRIT, WSAGetLastError(), sconf,
                        "make_secure_socket: failed to get a socket for %s", 
                        addr);
           return -1;
  @@ -235,7 +235,7 @@
   		    
           if (WSAIoctl(s, SO_SSL_SET_FLAGS, (char *)&optParam,
               sizeof(optParam), NULL, 0, NULL, NULL, NULL)) {
  -            ap_log_error(APLOG_MARK, APLOG_CRIT, apr_get_netos_error(), sconf,
  +            ap_log_error(APLOG_MARK, APLOG_CRIT, WSAGetLastError(), sconf,
                            "make_secure_socket: for %s, WSAIoctl: "
                            "(SO_SSL_SET_FLAGS)", addr);
               return -1;
  @@ -250,7 +250,7 @@
   
       if (WSAIoctl(s, SO_SSL_SET_SERVER, (char *)&opts, sizeof(opts),
           NULL, 0, NULL, NULL, NULL) != 0) {
  -        ap_log_error(APLOG_MARK, APLOG_CRIT, apr_get_netos_error(), sconf,
  +        ap_log_error(APLOG_MARK, APLOG_CRIT, WSAGetLastError(), sconf,
                        "make_secure_socket: for %s, WSAIoctl: "
                        "(SO_SSL_SET_SERVER)", addr);
           return -1;
  @@ -261,7 +261,7 @@
   
           if(WSAIoctl(s, SO_SSL_SET_FLAGS, (char*)&optParam,
               sizeof(optParam), NULL, 0, NULL, NULL, NULL)) {
  -            ap_log_error(APLOG_MARK, APLOG_CRIT, apr_get_netos_error(), sconf,
  +            ap_log_error(APLOG_MARK, APLOG_CRIT, WSAGetLastError(), sconf,
                            "make_secure_socket: for %s, WSAIoctl: "
                            "(SO_SSL_SET_FLAGS)", addr);
               return -1;
  
  
  

Mime
View raw message