Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save darealshinji/37b7d83827e8c4102254 to your computer and use it in GitHub Desktop.
Save darealshinji/37b7d83827e8c4102254 to your computer and use it in GitHub Desktop.
--- a/libpurple/protocols/oscar/oscar.c
+++ b/libpurple/protocols/oscar/oscar.c
@@ -4176,13 +4176,13 @@
} break;
default: { /* La la la */
- gchar *buf;
+ //gchar *buf;
purple_debug_error("oscar", "ssi: Action 0x%04hx was unsuccessful with error 0x%04hx\n", retval->action, retval->ack);
- buf = g_strdup_printf(_("Unable to add the buddy %s for an unknown reason."),
- (retval->name ? retval->name : _("(no name)")));
- if ((retval->name != NULL) && !purple_conv_present_error(retval->name, purple_connection_get_account(gc), buf))
- purple_notify_error(gc, NULL, _("Unable to Add"), buf);
- g_free(buf);
+ //buf = g_strdup_printf(_("Unable to add the buddy %s for an unknown reason."),
+ // (retval->name ? retval->name : _("(no name)")));
+ //if ((retval->name != NULL) && !purple_conv_present_error(retval->name, purple_connection_get_account(gc), buf))
+ // purple_notify_error(gc, NULL, _("Unable to Add"), buf);
+ //g_free(buf);
} break;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment