changeset 29117:5695a3626c1a

oops.
author Paul Aurich <paul@darkrain42.org>
date Tue, 01 Dec 2009 21:56:55 +0000
parents 6c5deb5d04bd
children a07478d5719d
files pidgin/plugins/disco/gtkdisco.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/plugins/disco/gtkdisco.c	Tue Dec 01 21:39:18 2009 +0000
+++ b/pidgin/plugins/disco/gtkdisco.c	Tue Dec 01 21:56:55 2009 +0000
@@ -225,8 +225,8 @@
 		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) {