comparison loadtools/ltscript.c @ 31:358785799844

loadtool scripting: cosmetic buglet
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 04 May 2013 07:25:39 +0000
parents dacf45e3d20f
children
comparison
equal deleted inserted replaced
30:af6d763badfb 31:358785799844
36 fprintf(stderr, "%s line %d: missing newline\n", 36 fprintf(stderr, "%s line %d: missing newline\n",
37 openfname, lineno); 37 openfname, lineno);
38 fclose(f); 38 fclose(f);
39 return(-1); 39 return(-1);
40 } 40 }
41 *cp = '\0';
41 retval = loadtool_dispatch_cmd(linebuf, 1); 42 retval = loadtool_dispatch_cmd(linebuf, 1);
42 if (retval) 43 if (retval)
43 break; 44 break;
44 } 45 }
45 fclose(f); 46 fclose(f);