changeset 2035:38c06d8b7863

[gaim-migrate @ 2045] hi committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 16 Jun 2001 06:20:30 +0000
parents 6bdf9954097c
children ab15b91b93d8
files src/oscar.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/oscar.c	Sat Jun 16 05:28:08 2001 +0000
+++ b/src/oscar.c	Sat Jun 16 06:20:30 2001 +0000
@@ -2490,7 +2490,7 @@
 		g_snprintf(away, sizeof(away), "%s", g->away);
 	if (strlen(info) > 1024)
 		do_error_dialog("Maximum info length (1024) exceeded, truncating", "Info Too Long");
-	aim_bos_setprofile(odata->sess, odata->conn, inforeal, g->away ? away : NULL, gaim_caps);
+	aim_bos_setprofile(odata->sess, odata->conn, inforeal, g->away ? NULL : "", gaim_caps);
 }
 
 static void oscar_set_away(struct gaim_connection *g, char *state, char *message) {
@@ -2499,7 +2499,7 @@
 	g_snprintf(info, sizeof(info), "%s", g->user->user_info);
 	if (message)
 		g_snprintf(away, sizeof(away), "%s", message);
-	aim_bos_setprofile(odata->sess, odata->conn, info, message ? away : NULL, gaim_caps);
+	aim_bos_setprofile(odata->sess, odata->conn, NULL, message ? away : "", gaim_caps);
 	if (g->away)
 		g_free (g->away);
 	g->away = NULL;