summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-request.c
diff options
context:
space:
mode:
authorGravatar snowdrop2006-01-11 10:54:43 +0000
committerGravatar snowdrop2006-01-11 10:54:43 +0000
commitfc3ecf82c3d0f8037e9130655128564de5d3c158 (patch)
treedcbec599d761d8b0a9052a40151a2fea2af50b83 /nanohttp/nanohttp-request.c
parent3a17b921e00936e3007807439f60e4bd7c7d6a51 (diff)
downloadcsoap-fc3ecf82c3d0f8037e9130655128564de5d3c158.tar.gz
csoap-fc3ecf82c3d0f8037e9130655128564de5d3c158.tar.bz2
intergrating ssl. Removing global variables SSL* like SSLctx and HSOCKET_SSL_* definition. Instead we are using HSOCKET_ERROR_SSL* definitions. introduced hsocket_init_ssl()
Diffstat (limited to 'nanohttp/nanohttp-request.c')
-rwxr-xr-xnanohttp/nanohttp-request.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nanohttp/nanohttp-request.c b/nanohttp/nanohttp-request.c
index 930c609..1bd8a1d 100755
--- a/nanohttp/nanohttp-request.c
+++ b/nanohttp/nanohttp-request.c
@@ -1,5 +1,5 @@
/******************************************************************
-* $Id: nanohttp-request.c,v 1.8 2006/01/10 11:29:05 snowdrop Exp $
+* $Id: nanohttp-request.c,v 1.9 2006/01/11 10:54:43 snowdrop Exp $
*
* CSOAP Project: A http client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -244,7 +244,7 @@ hrequest_new_from_socket(hsocket_t sock, hrequest_t ** out)
status = hsocket_read(sock, &(buffer[i]), 1, 1, &readed);
if (status != H_OK)
{
- if (herror_code(status) != HSOCKET_SSL_CLOSE)
+ if (herror_code(status) != HSOCKET_ERROR_SSLCLOSE)
{
log_error1("Socket read error");
}