/[public]/psiconv/trunk/lib/psiconv/parse_simple.c
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/parse_simple.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 232 Revision 233
375 /* Copy the list to the actual string */ 375 /* Copy the list to the actual string */
376 if (!(result = malloc(sizeof(*result) * (psiconv_list_length(string) + 1)))) 376 if (!(result = malloc(sizeof(*result) * (psiconv_list_length(string) + 1))))
377 goto ERROR2; 377 goto ERROR2;
378 for (i = 0; i < psiconv_list_length(string); i++) { 378 for (i = 0; i < psiconv_list_length(string); i++) {
379 if (!(nextcharptr = psiconv_list_get(string,i))) { 379 if (!(nextcharptr = psiconv_list_get(string,i))) {
380 psiconv_error(config,lev,off+i+len,"Internal data corruption"); 380 psiconv_error(config,lev,off+i+len,"Data structure corruption");
381 goto ERROR3; 381 goto ERROR3;
382 } 382 }
383 result[i] = *nextcharptr; 383 result[i] = *nextcharptr;
384 } 384 }
385 result[i] = 0; 385 result[i] = 0;

Legend:
Removed from v.232  
changed lines
  Added in v.233

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26