summaryrefslogtreecommitdiffabout
path: root/src/smapc.c
Side-by-side diff
Diffstat (limited to 'src/smapc.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/smapc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smapc.c b/src/smapc.c
index 88ddb0c..422afcd 100644
--- a/src/smapc.c
+++ b/src/smapc.c
@@ -647,13 +647,13 @@ read_eval_loop(FILE *fp, int interactive)
rl_attempted_completion_function = _command_completion;
read_history(get_history_file_name());
}
#endif
if (interactive && !quiet_startup)
shell_banner();
- while (p = get_input_line(fp, interactive)) {
+ while ((p = get_input_line(fp, interactive))) {
#ifdef WITH_READLINE
if (interactive) {
if (retrieve_history(p))
continue;
add_history(p);
}

Return to:

Send suggestions and report system problems to the System administrator.