pidgin: 3bdd97c1: use memset instead of bzero for better p...

datallah at pidgin.im datallah at pidgin.im
Thu Aug 20 12:21:17 EDT 2009


-----------------------------------------------------------------
Revision: 3bdd97c1397f80176defb2c6296e46a61bb93121
Ancestor: 6e9c2cd30f25c97b9e61e1f5a5080612a13a4da1
Author: datallah at pidgin.im
Date: 2009-08-20T16:15:00
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3bdd97c1397f80176defb2c6296e46a61bb93121

Modified files:
        libpurple/protocols/yahoo/util.c

ChangeLog: 

use memset instead of bzero for better portability and profit

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/util.c	98a981be45111ce57e1faa7edf8d1a6faf7e9ed9
+++ libpurple/protocols/yahoo/util.c	93fd2a4ca9778a639d423396b7b9599f6aeb0083
@@ -764,7 +764,7 @@ char *yahoo_html_to_codes(const char *sr
 	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);


More information about the Commits mailing list