]> diplodocus.org Git - nmh/blobdiff - uip/burst.c
Implement OAuth 2.0 [1] for XOAUTH2 in SMTP [2] and POP3 [3].
[nmh] / uip / burst.c
index ff5af237c60f2adba797d03b5b6d215a6343d622..5375f8a17233775664b868c64060e9a6f7a5cac0 100644 (file)
@@ -42,7 +42,6 @@ struct smsg {
  */
 
 int debugsw = 0;
-pid_t xpid = 0;
 
 /*
  * static prototypes
@@ -166,7 +165,7 @@ main (int argc, char **argv)
     seq_setprev (mp);  /* set the previous-sequence */
 
     smsgs = (struct smsg *)
-       calloc ((size_t) (MAXFOLDER + 2), sizeof(*smsgs));
+       mh_xcalloc ((size_t) (MAXFOLDER + 2), sizeof(*smsgs));
     if (smsgs == NULL)
        adios (NULL, "unable to allocate burst storage");