prepare for the release of rrdtool-1.3rc2
[rrdtool.git] / src / rrd_tool.c
index 5eaf105..83f7f1e 100644 (file)
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * RRDtool 1.2.99907080300  Copyright by Tobi Oetiker, 1997-2007
+ * RRDtool 1.3rc2  Copyright by Tobi Oetiker, 1997-2008
  *****************************************************************************
  * rrd_tool.c  Startup wrapper
  *****************************************************************************/
@@ -803,8 +803,8 @@ int HandleInputLine(
 
     } else if (strcmp("graphv", argv[1]) == 0) {
         info_t   *grinfo = NULL;    /* 1 to distinguish it from the NULL that rrd_graph sends in */
-
-        if (grinfo = rrd_graph_v(argc - 1, &argv[1])) {
+        grinfo = rrd_graph_v(argc - 1, &argv[1]);
+        if (grinfo) {
             info_print(grinfo);
             info_free(grinfo);
         }