aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-03-15 23:53:54 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2008-03-15 23:53:54 +0000
commit4bb50efd1015a04d44c301961710fa08e0eda162 (patch)
tree4abe72a1c1b027d5a53bef7ed8973f0a9d19f0a9
parent79eae4a9edb343eaad30425289f7737467a535bb (diff)
Although I have no idea what the author meant with code like
`if(cp != "\005")', I'm sure he feels homesick to QuickBasic. Since BitlBee doesn't use this function anyway, it doesn't really matter if my fix works. As long as it keeps the compiler quiet.
-rw-r--r--protocols/yahoo/libyahoo2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/yahoo/libyahoo2.c b/protocols/yahoo/libyahoo2.c
index 4e93449e..80d88a85 100644
--- a/protocols/yahoo/libyahoo2.c
+++ b/protocols/yahoo/libyahoo2.c
@@ -3350,7 +3350,7 @@ static void yahoo_process_search_connection(struct yahoo_input_data *yid, int ov
yct->age = atoi(cp);
break;
case 5:
- if(cp != "\005")
+ if(strcmp(cp, "5") != 0)
yct->location = cp;
k = 0;
break;