1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

Fix compilation with glib-1.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4334 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2006-09-10 17:39:00 +00:00 committed by exg
parent e6d43a9796
commit cf1d60203b

View File

@ -72,7 +72,7 @@ int show_banlist (char *nothing)
for (tmp = chan->banlist, i = 0; tmp; tmp = tmp->next, i++) {
ban = tmp->data;
baninfo[i] = g_string_new (NULL);
g_string_printf (baninfo[i], "%s set by %s %d seconds ago", ban->ban, ban->setby, (int)(time(NULL)-ban->time));
g_string_sprintf (baninfo[i], "%s set by %s %d seconds ago", ban->ban, ban->setby, (int)(time(NULL)-ban->time));
entry = create_label (baninfo[i]->str);
entries[i] = entry;
}