From 55cefa05d48152404dbec4eff03339342265f931 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Thu, 3 Jun 2004 20:23:02 +0000 Subject: fixed typeregistry bug example : #include "s0:Dictionary.h" instead of #include "Dictionary.h" --- xsd2c/obj.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xsd2c/obj.c') 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 #include @@ -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); -- cgit v1.1-32-gdbae