changeset 4948:8896e0894112

[gaim-migrate @ 5282] I noticed that AOL was sending out this other TLV a day or two ago. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 01 Apr 2003 13:16:23 +0000
parents 24c9a23df63b
children e8c0b116a9a3
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Tue Apr 01 08:43:51 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Tue Apr 01 13:16:23 2003 +0000
@@ -191,6 +191,8 @@
 
 	fu16_t iconcsumlen;
 	fu8_t iconcsum[30];
+
+	double shoesize;
 };
 
 struct name_data {
@@ -1787,6 +1789,9 @@
 		free(b16);
 	}
 
+	bi->shoesize = (rand()%5)+7;
+	if (rand()%2)  bi->shoesize+=0.5;
+
 	serv_got_update(gc, info->sn, 1, info->warnlevel/10, signon, time_idle, type);
 
 	return 1;
@@ -3032,6 +3037,14 @@
 			g_free(tmp);
 			g_free(status);
 		}
+
+		{
+			char *tmp;
+			tmp = yay;
+			yay = g_strdup_printf("%s\n<b>Shoe Size:</b> %2.1f", tmp, bi->shoesize);
+			g_free(tmp);
+		}
+
 		return yay;
 	} else {
 		return NULL;