summaryrefslogtreecommitdiffstats
path: root/libcsoap
diff options
context:
space:
mode:
Diffstat (limited to 'libcsoap')
-rw-r--r--libcsoap/soap-client.c3
-rwxr-xr-xlibcsoap/soap-ctx.c5
2 files changed, 4 insertions, 4 deletions
diff --git a/libcsoap/soap-client.c b/libcsoap/soap-client.c
index b704766..e12317c 100644
--- a/libcsoap/soap-client.c
+++ b/libcsoap/soap-client.c
@@ -1,5 +1,5 @@
/******************************************************************
-* $Id: soap-client.c,v 1.15 2005/04/18 20:52:26 snowdrop Exp $
+* $Id: soap-client.c,v 1.16 2005/05/27 19:28:14 snowdrop Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -92,7 +92,6 @@ soap_client_invoke(SoapCtx *call, SoapCtx** response, const char *url, const cha
char start_id[150];
static int counter=1;
part_t *part;
- int file_count=0;
/* for copy attachments */
char href[MAX_HREF_SIZE];
diff --git a/libcsoap/soap-ctx.c b/libcsoap/soap-ctx.c
index 5fe0685..291a161 100755
--- a/libcsoap/soap-ctx.c
+++ b/libcsoap/soap-ctx.c
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: soap-ctx.c,v 1.4 2004/11/02 23:09:26 snowdrop Exp $
+ * $Id: soap-ctx.c,v 1.5 2005/05/27 19:28:15 snowdrop Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2003-2004 Ferhat Ayaz
@@ -23,6 +23,7 @@
******************************************************************/
#include <libcsoap/soap-ctx.h>
+#include <string.h>
SoapCtx* soap_ctx_new(SoapEnv *env) /* should only be used internally */
{
@@ -86,7 +87,7 @@ part_t *soap_ctx_get_file(SoapCtx* ctx, xmlNodePtr node)
prop = xmlGetProp(node, "href");
- if (!prop) NULL;
+ if (!prop) return NULL;
strcpy(href, (const char*)prop);
if (!strncmp(href, "cid:", 4)) {