From 6319006aeb8a7888f6f7acf6d4ace032d1c41436 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 2 Feb 2012 20:40:47 -0800 Subject: hdfsee: Fix --simple-rings --- src/hdfsee.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/hdfsee.c b/src/hdfsee.c index 72738286..49e4b57f 100644 --- a/src/hdfsee.c +++ b/src/hdfsee.c @@ -191,10 +191,10 @@ int main(int argc, char *argv[]) thisvalue[j] = reslist[i]; j++; } else { - j = 0; - thisvalue[i] = '\0'; + thisvalue[j] = '\0'; ring_radii[n_rings] = atof(thisvalue); n_rings++; + j = 0; } } break; -- cgit v1.2.3