Mercurial > pidgin
changeset 27272:802de68c9fc3
Add an else when looking at the number of total elements and
remove a little bit of trailing whitespace
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 03 Jul 2009 19:28:25 +0000 |
parents | 63c026c0fede |
children | 33734bb78c9f 00d9a2e24797 979031db48c1 |
files | libpurple/protocols/yahoo/yahoo.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.c Fri Jul 03 11:43:15 2009 +0000 +++ b/libpurple/protocols/yahoo/yahoo.c Fri Jul 03 19:28:25 2009 +0000 @@ -1681,7 +1681,7 @@ #if GLIB_CHECK_VERSION(2,6,0) totalelements = g_strv_length(split_data); #else - while (split_data[++totalelements] != NULL); + while (split_data[++totalelements] != NULL); #endif if (totalelements >= 4) { response_no = strtol(split_data[0], NULL, 10); @@ -1767,11 +1767,11 @@ #if GLIB_CHECK_VERSION(2,6,0) totalelements = g_strv_length(split_data); #else - while (split_data[++totalelements] != NULL); + while (split_data[++totalelements] != NULL); #endif if(totalelements == 1) response_no = strtol(split_data[0], NULL, 10); - if(totalelements >= 2) { + else if(totalelements >= 2) { response_no = strtol(split_data[0], NULL, 10); token = g_strdup(split_data[1] + strlen("ymsgr=")); }