openbsd-ports/mail/wmbiff/patches/patch-wmbiff_ShellClient_c
sturm 9e84dea72d update to wmbiff 0.4.22
use new libgcrypt

ok maintainer Michael Schubert <michael at schubert.cx>
2004-05-08 06:50:10 +00:00

13 lines
534 B
Plaintext

$OpenBSD: patch-wmbiff_ShellClient_c,v 1.1 2004/05/08 06:50:10 sturm Exp $
--- wmbiff/ShellClient.c.orig 2004-04-25 11:31:49.000000000 +0200
+++ wmbiff/ShellClient.c 2004-04-25 11:36:16.000000000 +0200
@@ -189,7 +189,7 @@ int shellCmdCheck(Pop3 pc)
pc->UnreadMsgs = 0;
pc->TotalMsgs = count_status;
}
- } else if (strcasestr(commandOutput, "unable")) {
+ } else if (!strcasecmp(commandOutput, "unable")) {
return -1;
} else if (sscanf(commandOutput, "%9s\n", pc->TextStatus) == 1) {
/* validate the string input */