summaryrefslogtreecommitdiffstats
path: root/libcsoap/soap-ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcsoap/soap-ctx.c')
-rwxr-xr-xlibcsoap/soap-ctx.c17
1 files changed, 5 insertions, 12 deletions
diff --git a/libcsoap/soap-ctx.c b/libcsoap/soap-ctx.c
index 28c779f..2db0e7e 100755
--- a/libcsoap/soap-ctx.c
+++ b/libcsoap/soap-ctx.c
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: soap-ctx.c,v 1.11 2006/11/19 09:40:14 m0gg Exp $
+ * $Id: soap-ctx.c,v 1.12 2006/11/21 20:59:02 m0gg Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2003-2004 Ferhat Ayaz
@@ -25,10 +25,6 @@
#include <config.h>
#endif
-#ifdef HAVE_SYS_TIME_H
-#include <sys/time.h>
-#endif
-
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif
@@ -45,12 +41,13 @@
#include <netinet/in.h>
#endif
+#include <libxml/tree.h>
+
#include <nanohttp/nanohttp-common.h>
-#include <nanohttp/nanohttp-socket.h>
-#include <nanohttp/nanohttp-stream.h>
-#include <nanohttp/nanohttp-request.h>
#include <nanohttp/nanohttp-logging.h>
+#include "soap-fault.h"
+#include "soap-env.h"
#include "soap-ctx.h"
SoapCtx *
@@ -66,7 +63,6 @@ soap_ctx_new(SoapEnv * env) /* should only be used internally */
ctx->env = env;
ctx->attachments = NULL;
- ctx->action = NULL;
return ctx;
}
@@ -171,9 +167,6 @@ soap_ctx_free(SoapCtx * ctx)
if (ctx->env)
soap_env_free(ctx->env);
- if (ctx->action)
- free(ctx->action);
-
free(ctx);
return;