version 1.111, 2010/08/20 01:02:07 |
version 1.112, 2010/09/04 20:18:53 |
Line 116 ml_alloc(char *outopts, enum htmltype type) |
|
Line 116 ml_alloc(char *outopts, enum htmltype type) |
|
h = calloc(1, sizeof(struct html)); |
h = calloc(1, sizeof(struct html)); |
if (NULL == h) { |
if (NULL == h) { |
perror(NULL); |
perror(NULL); |
exit(MANDOCLEVEL_SYSERR); |
exit((int)MANDOCLEVEL_SYSERR); |
} |
} |
|
|
h->type = type; |
h->type = type; |
Line 398 print_otag(struct html *h, enum htmltag tag, |
|
Line 398 print_otag(struct html *h, enum htmltag tag, |
|
t = malloc(sizeof(struct tag)); |
t = malloc(sizeof(struct tag)); |
if (NULL == t) { |
if (NULL == t) { |
perror(NULL); |
perror(NULL); |
exit(MANDOCLEVEL_SYSERR); |
exit((int)MANDOCLEVEL_SYSERR); |
} |
} |
t->tag = tag; |
t->tag = tag; |
t->next = h->tags.head; |
t->next = h->tags.head; |