X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1ae9fa8a84998e44e0234543162e257815d7e972..8cf1d92e52d3feac4ed32ec733e2c0ed7f384e86:/uip/pick.c diff --git a/uip/pick.c b/uip/pick.c index 7aa48700..e0d61368 100644 --- a/uip/pick.c +++ b/uip/pick.c @@ -153,6 +153,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: