# HG changeset patch # User Richard Laager # Date 1189968432 0 # Node ID 5bef3197383a28ecc19b2c02b5175ead38793500 # Parent a1b40a04f2dfaa14a1bcd22770944d567bfb8ec5 Make my currentmedia changes compile. diff -r a1b40a04f2df -r 5bef3197383a libpurple/protocols/msn/state.c --- 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;