libpurple/protocols/msn/state.c

branch
cpw.khc.msnp14
changeset 20608
907a459c1ba4
parent 20605
d9f62ce8c905
child 21073
a2f27248579c
child 21193
e918a1846d03
--- a/libpurple/protocols/msn/state.c	Sun Sep 16 18:34:58 2007 +0000
+++ b/libpurple/protocols/msn/state.c	Sun Sep 16 18:47:12 2007 +0000
@@ -101,7 +101,7 @@
 
 	strings = 0;
 	/* Yes, we want to skip the first element here, as it is empty due to
-	 * the cmedia string starting with \0 -- see the examples below.
+	 * the cmedia string starting with \0 -- see the examples below. */
 	while (cmedia_array[++strings] != NULL);
 
 	/* The cmedia_array[2] field contains a 1 if enabled. */
@@ -111,7 +111,7 @@
 		buffer = g_string_new(NULL);
 
 		while (*inptr != '\0') {
-			if ((*inptr == '{') && ((*(inptr + 1) != '\0') && (*(inptr+2) == '}')) {
+			if ((*inptr == '{') && ((*(inptr + 1) != '\0') && (*(inptr+2) == '}'))) {
 				char *tmpptr;
 				int tmp;
 

mercurial