X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fpick.c;h=24e6862c818044380967287968d773da005c94ba;hp=7aa4870010d7eb01ba19cb544caf443a8407dc30;hb=5dd6771b28c257af405d7248639ed0e3bcdce38b;hpb=1ae9fa8a84998e44e0234543162e257815d7e972 diff --git a/uip/pick.c b/uip/pick.c index 7aa4870..24e6862 100644 --- a/uip/pick.c +++ b/uip/pick.c @@ -2,8 +2,6 @@ /* * pick.c -- search for messages by content * - * $Id$ - * * This code is Copyright (c) 2002, 2008, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -153,6 +151,10 @@ main (int argc, char **argv) /* check if too many sequences specified */ if (seqp >= NUMATTRS) adios (NULL, "too many sequences (more than %d) specified", NUMATTRS); + + if (!seq_nameok (cp)) + done (1); + seqs[seqp++] = cp; continue; case PUBLSW: