/pidgin/main: 7fd6d7cba52d: Use else statement
Mark Doliner
mark at kingant.net
Tue Jan 28 10:38:14 EST 2014
Changeset: 7fd6d7cba52da2c5bc8012595a1dacd18ee468bc
Author: Mark Doliner <mark at kingant.net>
Date: 2014-01-20 00:11 -0800
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/7fd6d7cba52d
Description:
Use else statement
diffstat:
libpurple/protocols/yahoo/yahoochat.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (13 lines):
diff --git a/libpurple/protocols/yahoo/yahoochat.c b/libpurple/protocols/yahoo/yahoochat.c
--- a/libpurple/protocols/yahoo/yahoochat.c
+++ b/libpurple/protocols/yahoo/yahoochat.c
@@ -664,8 +664,7 @@ void yahoo_process_chat_exit(PurpleConne
if (pair->key == 104) {
g_free(room);
room = yahoo_string_decode(gc, pair->value, TRUE);
- }
- if (pair->key == 109) {
+ } else if (pair->key == 109) {
if (g_utf8_validate(pair->value, -1, NULL)) {
who = pair->value;
} else {
More information about the Commits
mailing list