projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
if stacking on nothing we should not try to figure out WHAT we stacked on since this...
[rrdtool.git]
/
src
/
rrd_tool.c
diff --git
a/src/rrd_tool.c
b/src/rrd_tool.c
index
c123baf
..
bfae7cf
100644
(file)
--- a/
src/rrd_tool.c
+++ b/
src/rrd_tool.c
@@
-356,7
+356,7
@@
int main(int argc, char *argv[])
while (fgets(aLine, sizeof(aLine)-1, stdin)){
if ((argc = CountArgs(aLine)) == 0) {
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) {
}
if ((myargv = (char **) malloc((argc+1) *
sizeof(char *))) == NULL) {
@@
-368,8
+368,7
@@
int main(int argc, char *argv[])
exit(1);
}
exit(1);
}
- if (HandleInputLine(argc, myargv, stdout))
- exit(1);
+ HandleInputLine(argc, myargv, stdout);
free(myargv);
#if HAVE_GETRUSAGE
free(myargv);
#if HAVE_GETRUSAGE