diff options
author | m0gg | 2006-12-06 11:27:20 +0000 |
---|---|---|
committer | m0gg | 2006-12-06 11:27:20 +0000 |
commit | 327f375e02d4282f973d0fb96e82b99858b32719 (patch) | |
tree | 3af5cfd194376eaecca69cbaedb0dc32972103db /nanohttp | |
parent | c489665ace13d32f4959904b0215ed1021d0acf6 (diff) | |
download | csoap-327f375e02d4282f973d0fb96e82b99858b32719.tar.gz csoap-327f375e02d4282f973d0fb96e82b99858b32719.tar.bz2 |
C++ style comments removed
Diffstat (limited to 'nanohttp')
-rw-r--r-- | nanohttp/nanohttp-ssl.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/nanohttp/nanohttp-ssl.c b/nanohttp/nanohttp-ssl.c index 22aa3d1..46b90f1 100644 --- a/nanohttp/nanohttp-ssl.c +++ b/nanohttp/nanohttp-ssl.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: nanohttp-ssl.c,v 1.35 2006/12/01 10:56:00 m0gg Exp $ +* $Id: nanohttp-ssl.c,v 1.36 2006/12/06 11:27:21 m0gg Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2001-2005 Rochester Institute of Technology @@ -520,20 +520,17 @@ hssl_server_ssl(struct hsocket_t *sock) log_error1("BIO_new_socket failed"); return NULL; } - // BIO_set_callback(sbio, hssl_bio_cb); + /* BIO_set_callback(sbio, hssl_bio_cb); */ sbio->method->bread = _hssl_bio_read; SSL_set_bio(ssl, sbio, sbio); - if ((ret = SSL_accept(ssl)) <= 0) { herror_t err; log_error2("SSL_accept failed (%s)", _hssl_get_error(ssl, ret)); - err = - herror_new("hssl_server_ssl", HSSL_ERROR_SERVER, - "SSL_accept failed (%s)", _hssl_get_error(ssl, ret)); + err = herror_new("hssl_server_ssl", HSSL_ERROR_SERVER, "SSL_accept failed (%s)", _hssl_get_error(ssl, ret)); SSL_free(ssl); return err; |