projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for bug #11139: mhl -form mhl.reply omits '> ' on some lines.
[mmh]
/
uip
/
install-mh.c
diff --git
a/uip/install-mh.c
b/uip/install-mh.c
index
34aed95
..
ec847fb
100644
(file)
--- a/
uip/install-mh.c
+++ b/
uip/install-mh.c
@@
-9,6
+9,7
@@
*/
#include <h/mh.h> /* mh internals */
*/
#include <h/mh.h> /* mh internals */
+#include <h/utils.h>
#include <pwd.h> /* structure for getpwuid() results */
static struct swit switches[] = {
#include <pwd.h> /* structure for getpwuid() results */
static struct swit switches[] = {
@@
-180,8
+181,7
@@
query:
/*
* Add some initial elements to the profile/context list
*/
/*
* Add some initial elements to the profile/context list
*/
- if (!(m_defs = (struct node *) malloc (sizeof *np)))
- adios (NULL, "unable to allocate profile storage");
+ m_defs = (struct node *) mh_xmalloc (sizeof *np);
np = m_defs;
np->n_name = getcpy ("Path");
np->n_field = getcpy (pathname);
np = m_defs;
np->n_name = getcpy ("Path");
np->n_field = getcpy (pathname);