diff options
author | snowdrop | 2004-06-03 20:23:02 +0000 |
---|---|---|
committer | snowdrop | 2004-06-03 20:23:02 +0000 |
commit | 55cefa05d48152404dbec4eff03339342265f931 (patch) | |
tree | a0c53be98947aa00f9b94443b4c265444ebaa32a /xsd2c/obj.c | |
parent | ce7dac10cbfaf1f0aa68350f0993184561e1b7b5 (diff) | |
download | csoap-55cefa05d48152404dbec4eff03339342265f931.tar.gz csoap-55cefa05d48152404dbec4eff03339342265f931.tar.bz2 |
fixed typeregistry bug
example :
#include "s0:Dictionary.h"
instead of
#include "Dictionary.h"
Diffstat (limited to 'xsd2c/obj.c')
-rw-r--r-- | xsd2c/obj.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xsd2c/obj.c b/xsd2c/obj.c index 804cf4f..1107807 100644 --- a/xsd2c/obj.c +++ b/xsd2c/obj.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: obj.c,v 1.2 2004/06/02 14:57:23 snowdrop Exp $ + * $Id: obj.c,v 1.3 2004/06/03 20:23:03 snowdrop Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -23,6 +23,7 @@ ******************************************************************/ #include "obj.h" #include "tr.h" +#include "util.h" #include <stdio.h> #include <string.h> @@ -149,7 +150,7 @@ static HFIELD fieldCreate(const char* name, const char* type, int flag, int mino, int maxo, HCOMPLEXTYPE parentObj) { HFIELD field; - + field = (HFIELD)malloc(sizeof(struct FIELD)); field->name = (char*)malloc(strlen(name)+1); field->type = (char*)malloc(strlen(type)+1); |