summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-request.c
diff options
context:
space:
mode:
Diffstat (limited to 'nanohttp/nanohttp-request.c')
-rwxr-xr-xnanohttp/nanohttp-request.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nanohttp/nanohttp-request.c b/nanohttp/nanohttp-request.c
index bed59f2..0eb5a22 100755
--- a/nanohttp/nanohttp-request.c
+++ b/nanohttp/nanohttp-request.c
@@ -1,5 +1,5 @@
/******************************************************************
-* $Id: nanohttp-request.c,v 1.1 2004/10/15 13:30:42 snowdrop Exp $
+* $Id: nanohttp-request.c,v 1.2 2004/10/20 14:17:41 snowdrop Exp $
*
* CSOAP Project: A http client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -44,7 +44,8 @@ hrequest_t *hrequest_new()
req->in = NULL;
req->attachments = NULL;
req->content_type = NULL;
-
+
+ return req;
}
static
@@ -61,7 +62,6 @@ _hrequest_parse_header(char *data)
char *saveptr3;
char *result;
char *key;
- char *value;
char *opt_key;
char *opt_value;
int firstline = 1;