summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 37c78b1)
raw | patch | inline | side by side (parent: 37c78b1)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 3 May 2005 20:23:05 +0000 (20:23 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 3 May 2005 20:23:05 +0000 (20:23 +0000) |
program/src/rrd_tool.c | patch | blob | history |
diff --git a/program/src/rrd_tool.c b/program/src/rrd_tool.c
index c123baf1a4a1dab2abdb87651a5c16a20d168d56..bfae7cf354492b278c60f4e3abeb22e37373aa23 100644 (file)
--- a/program/src/rrd_tool.c
+++ b/program/src/rrd_tool.c
while (fgets(aLine, sizeof(aLine)-1, stdin)){
if ((argc = CountArgs(aLine)) == 0) {
- fprintf(stderr,"ERROR: not enough arguments\n");
+ fprintf(stderr,"ERROR: not enough arguments\n");
}
if ((myargv = (char **) malloc((argc+1) *
sizeof(char *))) == NULL) {
exit(1);
}
- if (HandleInputLine(argc, myargv, stdout))
- exit(1);
+ HandleInputLine(argc, myargv, stdout);
free(myargv);
#if HAVE_GETRUSAGE