X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=rmac.c;h=f43b83b8e6e2fb1047803e5d79c593aa035e9cd0;hp=c3da33dc734364f7516a3f819f8ea46a6f883a21;hb=821279dcb7b5d069d175767edcd413b833b0cae3;hpb=9ecc6f5e49e1740adee78dd45e1115c7e4fcc314 diff --git a/rmac.c b/rmac.c index c3da33d..f43b83b 100644 --- a/rmac.c +++ b/rmac.c @@ -415,11 +415,12 @@ int Process(int argc, char ** argv) // Check to see if include paths actually exist char current_path[256]; - for (i = current_path_index; nthpath("RMACPATH", i, current_path) != 0; i++) + + for(i=current_path_index; nthpath("RMACPATH", i, current_path)!=0; i++) { if (strlen(current_path) > 0) { - DIR* test = opendir(current_path); + DIR * test = opendir(current_path); if (test == NULL) { @@ -431,7 +432,8 @@ int Process(int argc, char ** argv) closedir(test); } } - current_path_index = i-1; + + current_path_index = i - 1; break; } case 'l': // Produce listing file