# HG changeset patch # User Daniel Atallah # Date 1250784900 0 # Node ID 69793158765c7e6a9c939d302f20669a2213c07b # Parent 83a3b3b5976ace3f82ebffb076fe969fb940aa7e use memset instead of bzero for better portability and profit diff -r 83a3b3b5976a -r 69793158765c libpurple/protocols/yahoo/util.c --- 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(¤t_state, sizeof(current_state)); + memset(¤t_state, 0, sizeof(current_state)); src_len = strlen(src); dest = g_string_sized_new(src_len);