From: j8takagi Date: Fri, 15 Feb 2019 23:40:03 +0000 (+0900) Subject: comet2monitorで、引数が多すぎる場合の動作を修正 X-Git-Tag: v0.5p6 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bd8ac91d7f38ef561a5b1857cc174158060ba0c;p=YACASL2.git comet2monitorで、引数が多すぎる場合の動作を修正 --- diff --git a/VERSION b/VERSION index 09431a2..3c9753e 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -v0.5p5 +v0.5p6 diff --git a/src/monitor.c b/src/monitor.c index 69da165..99e27d8 100644 --- a/src/monitor.c +++ b/src/monitor.c @@ -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, " "); }