aboutsummaryrefslogtreecommitdiffstats
path: root/cmd.c
diff options
context:
space:
mode:
authorGustav HÃ¥llberg <gustav@gmail.com>2008-12-29 19:36:06 (GMT)
committerGustav HÃ¥llberg <gustav@gmail.com>2009-01-16 23:34:19 (GMT)
commit8b5e00d0d36aa59d86cf6d6e8e710817a7ee772a (patch)
tree19d3a707c0f3d5fc5f86add5966ac6b24030703d /cmd.c
parentba902ad54b651134a1261c9f4be227a462c54f3b (diff)
downloadpowwow-8b5e00d0d36aa59d86cf6d6e8e710817a7ee772a.zip
powwow-8b5e00d0d36aa59d86cf6d6e8e710817a7ee772a.tar.gz
powwow-8b5e00d0d36aa59d86cf6d6e8e710817a7ee772a.tar.bz2
fixed some compilation warnings
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 {