comet2monitorで、引数が多すぎる場合の動作を修正 v0.5p6
authorj8takagi <j8takagi@nifty.com>
Fri, 15 Feb 2019 23:40:03 +0000 (08:40 +0900)
committerj8takagi <j8takagi@nifty.com>
Fri, 15 Feb 2019 23:40:03 +0000 (08:40 +0900)
VERSION
src/monitor.c

diff --git a/VERSION b/VERSION
index 09431a2..3c9753e 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-v0.5p5
+v0.5p6
 
index 69da165..99e27d8 100644 (file)
@@ -242,7 +242,7 @@ void mon_dump(int argc, char *argv[])
         }
         dumpmemory(start, end);
         if(argc > i) {
-            for(j = i; i < argc; j++) {
+            for(j = i; j < argc; j++) {
                 if(j > i) {
                     fprintf(stderr, " ");
                 }