diff options
Diffstat (limited to 'nanohttp/nanohttp-request.c')
-rwxr-xr-x | nanohttp/nanohttp-request.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nanohttp/nanohttp-request.c b/nanohttp/nanohttp-request.c index 7661592..16e74cb 100755 --- a/nanohttp/nanohttp-request.c +++ b/nanohttp/nanohttp-request.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: nanohttp-request.c,v 1.3 2004/10/28 10:30:46 snowdrop Exp $ +* $Id: nanohttp-request.c,v 1.4 2004/11/02 23:09:26 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -44,7 +44,7 @@ hrequest_t *hrequest_new() req->in = NULL; req->attachments = NULL; req->content_type = NULL; -
+ return req; } @@ -220,7 +220,7 @@ hrequest_free(hrequest_t * req) herror_t hrequest_new_from_socket(hsocket_t sock, hrequest_t **out) { - int i=0, readed;
+ int i=0, readed; herror_t status; hrequest_t *req; char buffer[MAX_HEADER_SIZE+1]; |