]> andersk Git - libfaim.git/commitdiff
More printfs.
authormid <mid>
Mon, 3 Jan 2000 01:51:12 +0000 (01:51 +0000)
committermid <mid>
Mon, 3 Jan 2000 01:51:12 +0000 (01:51 +0000)
aim_snac.c

index 1d2c4fb3f702025fa946f0e290d1c4c8c5218b22..5c51482e26028a87b83bd39521d25741201b6b72 100644 (file)
@@ -38,6 +38,7 @@ u_long aim_newsnac(struct aim_session_t *sess,
   while (cur->next != NULL)
     cur = cur->next;
   cur->next = snac;
+  printf("faim: snac: added %08lx\n", snac->id);
   return(snac->id);
 }
 
@@ -49,6 +50,8 @@ struct aim_snac_t *aim_remsnac(struct aim_session_t *sess,
   if (cur == NULL)
     return(NULL);
 
+  printf("faim: snac: searching for %08lx to remove\n", id);
+
   cur = sess->outstanding_snacs;
   
   if (cur->id == id) {
@@ -91,8 +94,8 @@ int aim_cleansnacs(struct aim_session_t *sess,
     {
       if ( (cur) && (((cur->issuetime) + maxage) < curtime))
        {
-#if DEBUG > 1
-         printf("aimsnac: WARNING purged obsolete snac %ul\n", cur->id);
+#if 1/* DEBUG > 1*/
+         printf("aimsnac: WARNING purged obsolete snac %08lx\n", cur->id);
 #endif
          remed = aim_remsnac(sess, cur->id);
          if (remed)
This page took 0.263719 seconds and 5 git commands to generate.