pidgin: 1cac7cac: oops.

darkrain42 at pidgin.im darkrain42 at pidgin.im
Tue Dec 1 17:00:37 EST 2009


-----------------------------------------------------------------
Revision: 1cac7cac77af89888c9e9819736317b28b63baca
Ancestor: 87f5b009d71909e90d49a7e37fdfa1456c440ecd
Author: darkrain42 at pidgin.im
Date: 2009-12-01T21:56:55
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/1cac7cac77af89888c9e9819736317b28b63baca

Modified files:
        pidgin/plugins/disco/gtkdisco.c

ChangeLog: 

oops.

-------------- next part --------------
============================================================
--- pidgin/plugins/disco/gtkdisco.c	ed8c3bf137e307e99f4803718ed358f527314bc8
+++ pidgin/plugins/disco/gtkdisco.c	d9a63dace58cdebb6d795cfc3e21ca1c94e24ffa
@@ -225,8 +225,8 @@ static void browse_button_cb(GtkWidget *
 		gtk_widget_set_sensitive(dialog->account_widget, FALSE);
 
 	username = purple_account_get_username(dialog->account);
-	at = strchr(username, -1, '@');
-	slash = strchr(username, -1, '/');
+	at = strchr(username, '@');
+	slash = strchr(username, '/');
 	if (at && !slash) {
 		server = g_strdup_printf("%s", at + 1);
 	} else if (at && slash && at + 1 < slash) {


More information about the Commits mailing list