[mw-devel] MW3 r1073 - trunk/src

arthur at sucs.org arthur at sucs.org
Thu Mar 12 18:36:56 GMT 2009


Author: arthur
Date: 2009-03-12 18:36:56 +0000 (Thu, 12 Mar 2009)
New Revision: 1073

Modified:
   trunk/src/log.c
Log:
filter out empty del.icio.us responses


Modified: trunk/src/log.c
===================================================================
--- trunk/src/log.c	2009-03-12 18:25:37 UTC (rev 1072)
+++ trunk/src/log.c	2009-03-12 18:36:56 UTC (rev 1073)
@@ -237,6 +237,12 @@
 		deli=NULL;
 	}
 
+	/* this means, they havent heard of it */
+	if (deli != NULL && strncmp(deli,"[]",2)==0) {
+		free(deli);
+		deli=NULL;
+	}
+
 	/* grab the pages title */
 	curl_easy_setopt(c, CURLOPT_URL, url);
 	curl_easy_setopt(c, CURLOPT_WRITEDATA, &body);





More information about the mw-devel mailing list