diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2008-03-15 23:53:54 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2008-03-15 23:53:54 +0000 |
commit | 4bb50efd1015a04d44c301961710fa08e0eda162 (patch) | |
tree | 4abe72a1c1b027d5a53bef7ed8973f0a9d19f0a9 /protocols/yahoo/libyahoo2.c | |
parent | 79eae4a9edb343eaad30425289f7737467a535bb (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.
Diffstat (limited to 'protocols/yahoo/libyahoo2.c')
-rw-r--r-- | protocols/yahoo/libyahoo2.c | 2 |
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; |