changeset 2988:9287c9465c50

[gaim-migrate @ 3001] I am not a pronoun. committer: Tailor Script <tailor@pidgin.im>
author Adam Fritzler <mid@auk.cx>
date Sun, 24 Feb 2002 00:54:23 +0000
parents 634a252a000a
children ba033cd8cd97
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Sat Feb 23 23:42:20 2002 +0000
+++ b/src/protocols/oscar/oscar.c	Sun Feb 24 00:54:23 2002 +0000
@@ -1678,7 +1678,7 @@
 			"<IMG SRC=\"aol_icon.gif\"> : AOL User <br>"
 			"<IMG SRC=\"dt_icon.gif\"> : Trial AIM User <br>"
 			"<IMG SRC=\"admin_icon.gif\"> : Administrator <br>"
-			"<IMG SRC=\"ab_icon.gif\"> : ActiveBuddy <br>"));
+			"<IMG SRC=\"ab_icon.gif\"> : ActiveBuddy Interactive Agent<br>"));
 
 	if (info->membersince)
 		asc = g_strdup_printf("Member Since : <B>%s</B><BR>\n",
@@ -2451,7 +2451,7 @@
 
 static void oscar_set_away(struct gaim_connection *gc, char *state, char *message) {
 	struct oscar_data *od = (struct oscar_data *)gc->proto_data;
-	char away[1025];
+	char away[4096];
 	if (!od->icq) {
 		if (message)
 			g_snprintf(away, sizeof(away), "%s", message);
@@ -2460,8 +2460,8 @@
 			g_free (gc->away);
 		gc->away = NULL;
 		if (message) {
-			if (strlen(message) > 1024)
-				do_error_dialog("Maximum away length (1024) exceeded, truncating",
+			if (strlen(message) > sizeof(away))
+				do_error_dialog("Maximum away length exceeded, truncating",
 						"Info Too Long");
 			gc->away = g_strdup (message);
 		}