summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/upas/Mail/mesg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/upas/Mail/mesg.c b/sys/src/cmd/upas/Mail/mesg.c
index 32dc0998a..fdcc01921 100644
--- a/sys/src/cmd/upas/Mail/mesg.c
+++ b/sys/src/cmd/upas/Mail/mesg.c
@@ -300,7 +300,7 @@ mesgshow(Mesg *m)
static void
reply(Mesg *m, char **f, int nf)
{
- if(nf >= 1 && strcmp(f[0], "all") != 0)
+ if(nf >= 1 && strcmp(f[0], "all") == 0)
compose(m->replyto, m, 1);
else
compose(m->replyto, m, 0);