pidgin/plugins/cap/cap.c

branch
string-comparison-r2
changeset 38258
9a6551eba09c
parent 33754
a860609d9c9e
child 38259
c593fc9f5438
equal deleted inserted replaced
38257:1a294a6d2a57 38258:9a6551eba09c
94 sqlite3_free(sql); 94 sqlite3_free(sql);
95 95
96 96
97 sta_id = purple_status_get_id(get_status_for(buddy)); 97 sta_id = purple_status_get_id(get_status_for(buddy));
98 98
99 if(sta_id && !strcmp(sta_id, "offline")) { 99 if(sta_id && purple_strequal(sta_id, "offline")) {
100 /* This is kind of stupid, change it. */ 100 /* This is kind of stupid, change it. */
101 if(prediction == 1.0f) 101 if(prediction == 1.0f)
102 prediction = 0.0f; 102 prediction = 0.0f;
103 } 103 }
104 104

mercurial