$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 */