1 $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
2 --- iptraf-3.0.1.orig/support/listbox.c 2002-07-19 18:48:11.000000000 +0200
3 +++ iptraf-3.0.1/support/listbox.c 2013-03-04 11:35:39.000000000 +0100
4 @@ -19,7 +19,7 @@ void tx_init_listbox(struct scroll_list
5 int mainattr, int borderattr, int selectattr,
8 - bzero(list, sizeof(struct scroll_list));
9 + memset(list, 0, sizeof(struct scroll_list));
10 list->borderwin = newwin(height, width, starty, startx);
11 list->borderpanel = new_panel(list->borderwin);
12 wattrset(list->borderwin, borderattr);
13 @@ -50,7 +50,7 @@ void tx_add_list_entry(struct scroll_lis
14 struct textlisttype *ptmp;
16 ptmp = malloc(sizeof(struct textlisttype));
17 - bzero(ptmp, sizeof(struct textlisttype));
18 + memset(ptmp, 0, sizeof(struct textlisttype));
20 strncpy(ptmp->text, text, MAX_TEXT_LENGTH);