]>
Commit | Line | Data |
---|---|---|
428659fe ER |
1 | --- poldek-0.30-cvs20080820.23/pkgu.c~ 2009-01-26 20:12:20.700457198 +0200 |
2 | +++ poldek-0.30-cvs20080820.23/pkgu.c 2009-01-26 20:12:00.937750881 +0200 | |
3 | @@ -576,8 +576,9 @@ | |
4 | nbuf = n_buf_new(1024); | |
5 | for (i=0; i < e_name.cnt; i++) { | |
6 | char ts[32]; | |
7 | + time_t t = times[i]; | |
8 | ||
9 | - strftime(ts, sizeof(ts), "%Y-%m-%d %H:%M:%S", gmtime((time_t*)×[i])); | |
10 | + strftime(ts, sizeof(ts), "%Y-%m-%d %H:%M:%S", gmtime((time_t*)&t)); | |
11 | ||
12 | n_buf_printf(nbuf, "* %s %s\n", ts, names[i]); | |
13 | n_buf_printf(nbuf, "%s\n\n", texts[i]); |