diff options
author | m0gg | 2006-11-24 17:28:07 +0000 |
---|---|---|
committer | m0gg | 2006-11-24 17:28:07 +0000 |
commit | 01aaebca2e4b8b2d13aef5cdeda9b8874efe1c31 (patch) | |
tree | d815b632fdec3dd019941bd1fabcb8f963e647d0 /nanohttp/nanohttp-stream.c | |
parent | 72ef19103fdf8ac5b0645e7eddc747420cc2aa8e (diff) | |
download | csoap-01aaebca2e4b8b2d13aef5cdeda9b8874efe1c31.tar.gz csoap-01aaebca2e4b8b2d13aef5cdeda9b8874efe1c31.tar.bz2 |
Documentation enhancements
Diffstat (limited to 'nanohttp/nanohttp-stream.c')
-rwxr-xr-x | nanohttp/nanohttp-stream.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/nanohttp/nanohttp-stream.c b/nanohttp/nanohttp-stream.c index 09d06b2..821c279 100755 --- a/nanohttp/nanohttp-stream.c +++ b/nanohttp/nanohttp-stream.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: nanohttp-stream.c,v 1.15 2006/11/23 15:27:33 m0gg Exp $ +* $Id: nanohttp-stream.c,v 1.16 2006/11/24 17:28:07 m0gg Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003-2004 Ferhat Ayaz @@ -85,9 +85,6 @@ http_input_stream_new(struct hsocket_t *sock, hpair_t * header) struct http_input_stream_t *result; char *content_length; - /* Paranoya check */ - /* if (header == NULL) return NULL; */ - /* Create object */ if (!(result = (struct http_input_stream_t *) malloc(sizeof(struct http_input_stream_t)))) { log_error2("malloc failed (%s)", strerror(errno)); @@ -160,9 +157,6 @@ http_input_stream_new_from_file(const char *filename) return result; } -/** - Free input stream -*/ void http_input_stream_free(struct http_input_stream_t * stream) { |