Index: branches/meklort/i386/libsaio/xml.c =================================================================== --- branches/meklort/i386/libsaio/xml.c (revision 644) +++ branches/meklort/i386/libsaio/xml.c (revision 645) @@ -40,7 +40,7 @@ { if(tmp->id == id) { - tmp->string = malloc(strlen(string+1)); + tmp->string = malloc(strlen(string)+1); sprintf(tmp->string, "%s", string); return; } @@ -64,7 +64,7 @@ tmp = tmp->next; } //verbose("Unable to locate Ref String %d\n", id); - return "Unknown"; + return ""; }