X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fpick.c;h=320db1981a74a7261c4ff5b86c33873067b20017;hp=984d80bdf20bf4581ce47ff78bdc962bd10cac1e;hb=d6742b1bb19c7eca8488402484a6e4f55543d789;hpb=4dc39c08f07428ff5f39acd7b0ddee30e0a004f6 diff --git a/uip/pick.c b/uip/pick.c index 984d80b..320db19 100644 --- a/uip/pick.c +++ b/uip/pick.c @@ -274,7 +274,6 @@ main(int argc, char **argv) } else { /* if it doesn't match, then unselect it */ unset_selected(mp, msgnum); - mp->numsel--; } if (fp) fclose(fp); @@ -769,8 +768,7 @@ newnexus(int (*action)()) { struct nexus *p; - if ((p = (struct nexus *) mh_xcalloc((size_t) 1, sizeof *p)) == NULL) - adios(EX_OSERR, NULL, "unable to allocate component storage"); + p = (struct nexus *) mh_xcalloc((size_t) 1, sizeof *p); p->n_action = action; return p;