ayttm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-commits] CVS: ayttm/modules/msn2/libmsn2 msn_core.C,1.14,1.15


From: Colin Leroy <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/modules/msn2/libmsn2 msn_core.C,1.14,1.15
Date: Fri, 17 Jan 2003 14:17:37 -0500

Update of /cvsroot/ayttm/ayttm/modules/msn2/libmsn2
In directory subversions:/tmp/cvs-serv3458/modules/msn2/libmsn2

Modified Files:
        msn_core.C 
Log Message:
dump no-content-type packets


Index: msn_core.C
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/msn2/libmsn2/msn_core.C,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- msn_core.C  15 Jan 2003 13:12:21 -0000      1.14
+++ msn_core.C  17 Jan 2003 19:17:35 -0000      1.15
@@ -813,7 +813,13 @@
   char * content; // content-type
 
   content=msn_find_in_mime(mime, "Content-Type");
-  if(content==NULL) { ext_show_error(conn, "MSG with no Content-type set"); 
delete msg; return; }
+  if(content==NULL) { 
+         ext_show_error(conn, "MSG with no Content-type set"); 
+         printf("mime:%s\n",mime);
+         printf("body:%s\n",body);
+         delete msg; 
+         return; 
+  }
   #ifdef DEBUG
   printf("Content type: \"%s\"\n", content);
   #endif





reply via email to

[Prev in Thread] Current Thread [Next in Thread]