changeset 28027:69793158765c

use memset instead of bzero for better portability and profit
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 20 Aug 2009 16:15:00 +0000
parents 83a3b3b5976a
children 6b446431b2b0
files libpurple/protocols/yahoo/util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/util.c	Thu Aug 20 06:54:44 2009 +0000
+++ b/libpurple/protocols/yahoo/util.c	Thu Aug 20 16:15:00 2009 +0000
@@ -764,7 +764,7 @@
 	gboolean is_closing_tag;
 	CurrentMsgState current_state;
 
-	bzero(&current_state, sizeof(current_state));
+	memset(&current_state, 0, sizeof(current_state));
 
 	src_len = strlen(src);
 	dest = g_string_sized_new(src_len);