cmd = readline(PROXPROMPT);
}
+ // this one should pick up all non-null cmd...
+ // why is there a
if (cmd) {
while(cmd[strlen(cmd) - 1] == ' ')
// exit or quit
if (ret == 99)
break;
+ free(cmd);
+ cmd = 0;
}
} else {
printf("\n");
break;
}
- free(cmd);
}
if (script_file) {
write_history(".history");
free(cmd);
+ cmd = 0;
if (arg->usb_present == 1) {
rarg.run = 0;