X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fc69a9cd8f854da20fc2f4cf99fcf726958485f5..5d61001a51f3c0c48d6cd296155607dea302a88b:/uip/mhlsbr.c diff --git a/uip/mhlsbr.c b/uip/mhlsbr.c index 8d759d65..6854ab99 100644 --- a/uip/mhlsbr.c +++ b/uip/mhlsbr.c @@ -1180,7 +1180,7 @@ mcomp_format (struct mcomp *c1, struct mcomp *c2) if ((p = (struct pqpair *) calloc ((size_t) 1, sizeof(*p))) == NULL) adios (NULL, "unable to allocate pqpair memory"); - if ((mp = getm (cp, NULL, 0, AD_NAME, error)) == NULL) { + if ((mp = getm (cp, NULL, 0, error, sizeof(error))) == NULL) { p->pq_text = getcpy (cp); p->pq_error = getcpy (error); } else {