ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/motd.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/motd.c (file contents):
Revision 1792 by michael, Sat Oct 27 21:02:32 2012 UTC vs.
Revision 1793 by michael, Sun Mar 31 14:06:08 2013 UTC

# Line 33 | Line 33
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  
# Line 162 | Line 161 | read_message_file(MessageFile *MessageFi
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);

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)