diff src/protocols/oscar/ssi.c @ 10990:8d74ae785a46

[gaim-migrate @ 12828] More compile warning getting rid of. Also fix the crash from my last batch of comile warning getting rid ofs. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 09 Jun 2005 04:33:52 +0000
parents ecc0f22db510
children 1798ad0be460
line wrap: on
line diff
--- a/src/protocols/oscar/ssi.c	Thu Jun 09 04:15:22 2005 +0000
+++ b/src/protocols/oscar/ssi.c	Thu Jun 09 04:33:52 2005 +0000
@@ -1331,7 +1331,7 @@
 	for (cur=sess->ssi.pending; cur; cur=cur->next) {
 		aimbs_put16(&fr->data, cur->item->name ? strlen(cur->item->name) : 0);
 		if (cur->item->name)
-			aimbs_putraw(&fr->data, cur->item->name, strlen(cur->item->name));
+			aimbs_putstr(&fr->data, cur->item->name);
 		aimbs_put16(&fr->data, cur->item->gid);
 		aimbs_put16(&fr->data, cur->item->bid);
 		aimbs_put16(&fr->data, cur->item->type);
@@ -1678,12 +1678,12 @@
 
 	/* Screen name */
 	aimbs_put8(&fr->data, strlen(sn));
-	aimbs_putraw(&fr->data, sn, strlen(sn));
+	aimbs_putstr(&fr->data, sn);
 
 	/* Message (null terminated) */
 	aimbs_put16(&fr->data, msg ? strlen(msg) : 0);
 	if (msg) {
-		aimbs_putraw(&fr->data, msg, strlen(msg));
+		aimbs_putstr(&fr->data, msg);
 		aimbs_put8(&fr->data, 0x00);
 	}
 
@@ -1753,12 +1753,12 @@
 
 	/* Screen name */
 	aimbs_put8(&fr->data, strlen(sn));
-	aimbs_putraw(&fr->data, sn, strlen(sn));
+	aimbs_putstr(&fr->data, sn);
 
 	/* Message (null terminated) */
 	aimbs_put16(&fr->data, msg ? strlen(msg) : 0);
 	if (msg) {
-		aimbs_putraw(&fr->data, msg, strlen(msg));
+		aimbs_putstr(&fr->data, msg);
 		aimbs_put8(&fr->data, 0x00);
 	}
 
@@ -1831,7 +1831,7 @@
 
 	/* Screen name */
 	aimbs_put8(&fr->data, strlen(sn));
-	aimbs_putraw(&fr->data, sn, strlen(sn));
+	aimbs_putstr(&fr->data, sn);
 
 	/* Grant or deny */
 	aimbs_put8(&fr->data, reply);
@@ -1839,7 +1839,7 @@
 	/* Message (null terminated) */
 	aimbs_put16(&fr->data, msg ? (strlen(msg)+1) : 0);
 	if (msg) {
-		aimbs_putraw(&fr->data, msg, strlen(msg));
+		aimbs_putstr(&fr->data, msg);
 		aimbs_put8(&fr->data, 0x00);
 	}