aboutsummaryrefslogtreecommitdiffstats
path: root/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd.c b/cmd.c
index 15a63d6..48e72c0 100644
--- a/cmd.c
+++ b/cmd.c
@@ -1342,7 +1342,7 @@ static void cmd_exe __P1 (char *,arg)
* the \\\n and do another fgets */
if (buf[offset + strlen(buf + offset) - 2] == '\\') {
/* Clear \n prefixed with a literal backslash '\\' */
- if (clear = strstr(buf + offset, "\\\n"))
+ if ((clear = strstr(buf + offset, "\\\n")))
*clear = '\0';
offset += strlen(buf + offset);
} else {