From 232ff6e28d1fce08472a2f7a965d83d3e008d84c Mon Sep 17 00:00:00 2001 From: snowdrop Date: Fri, 27 May 2005 19:28:04 +0000 Subject: patch from mailinglist --- libcsoap/soap-client.c | 3 +-- libcsoap/soap-ctx.c | 5 +++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libcsoap') 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 +#include 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)) { -- cgit v1.1-32-gdbae