| 33 |
|
#include "numeric.h" |
| 34 |
|
#include "client.h" |
| 35 |
|
#include "irc_string.h" |
| 36 |
– |
#include "sprintf_irc.h" |
| 36 |
|
#include "memory.h" |
| 37 |
|
#include "s_serv.h" |
| 38 |
|
|
| 161 |
|
local_tm = localtime(&sb.st_mtime); |
| 162 |
|
|
| 163 |
|
if (local_tm) |
| 164 |
< |
ircsprintf(MessageFileptr->lastChangedDate, |
| 165 |
< |
"%d/%d/%d %d:%02d", |
| 166 |
< |
local_tm->tm_mday, |
| 167 |
< |
local_tm->tm_mon + 1, |
| 168 |
< |
1900 + local_tm->tm_year, |
| 169 |
< |
local_tm->tm_hour, |
| 170 |
< |
local_tm->tm_min); |
| 164 |
> |
sprintf(MessageFileptr->lastChangedDate, |
| 165 |
> |
"%d/%d/%d %d:%02d", |
| 166 |
> |
local_tm->tm_mday, |
| 167 |
> |
local_tm->tm_mon + 1, |
| 168 |
> |
1900 + local_tm->tm_year, |
| 169 |
> |
local_tm->tm_hour, |
| 170 |
> |
local_tm->tm_min); |
| 171 |
|
|
| 172 |
|
if ((file = fopen(MessageFileptr->fileName, "r")) == NULL) |
| 173 |
|
return(-1); |