SHA256
1
0
forked from pool/pidgin
pidgin/pidgin-stringcompare.patch

12 lines
372 B
Diff

--- libpurple/protocols/oscar/oscar.c
+++ libpurple/protocols/oscar/oscar.c
@@ -1788,7 +1788,7 @@
if (have_status_message)
{
- if ((status_id == OSCAR_STATUS_ID_AVAILABLE) && (info->itmsurl != NULL))
+ if (!strcmp(status_id,OSCAR_STATUS_ID_AVAILABLE) && (info->itmsurl != NULL))
{
char *itmsurl;
itmsurl = oscar_encoding_to_utf8(info->itmsurl_encoding,