diff src/blist.c @ 6036:547ba881bc7e

[gaim-migrate @ 6486] Fix the --login=[NAME] command line argument. Fix the password prompt when signing on an account with no password set. I made some similar changes that probably fix problems with the filectl plugin, using gaim-remote to sign on an account, and signing on an account via perl script. (The change is calling gaim_account_connect() instead of serv_login().) Fix a silly compiler warning. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 05 Jul 2003 22:24:57 +0000
parents 5a0060191a77
children d5f4ae4f9a02
line wrap: on
line diff
--- a/src/blist.c	Sat Jul 05 21:54:19 2003 +0000
+++ b/src/blist.c	Sat Jul 05 22:24:57 2003 +0000
@@ -348,7 +348,7 @@
 	return chat;
 }
 
-const char *gaim_chat_get_display_name(struct chat *chat)
+char *gaim_chat_get_display_name(struct chat *chat)
 {
 	char *name;
 
@@ -769,10 +769,11 @@
 char *  gaim_get_buddy_alias (struct buddy *buddy)
 {
 	char *ret = gaim_get_buddy_alias_only(buddy);
-        if(!ret)
-                return buddy ? buddy->name : _("Unknown");
-        return ret;
 
+	if(!ret)
+		return buddy ? buddy->name : _("Unknown");
+
+	return ret;
 }
 
 struct buddy *gaim_find_buddy(GaimAccount *account, const char *name)