[BACK]Return to html.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/html.c between version 1.110 and 1.111

version 1.110, 2010/07/26 22:26:05 version 1.111, 2010/08/20 01:02:07
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(EXIT_FAILURE);                  exit(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(EXIT_FAILURE);                          exit(MANDOCLEVEL_SYSERR);
                 }                  }
                 t->tag = tag;                  t->tag = tag;
                 t->next = h->tags.head;                  t->next = h->tags.head;

Legend:
Removed from v.1.110  
changed lines
  Added in v.1.111

CVSweb