diff options
| author | Alexander Barton <alex@barton.de> | 2003-04-21 10:54:30 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2003-04-21 10:54:30 +0000 |
| commit | 489d8c5cd0be81e39b3294385992f91986dfdf38 (patch) | |
| tree | 7d77148e544c0f28b7496ef1e935e4b7c773ae4d | |
| parent | daa996f1778a1d7ba97a10936fbbb522cc63b581 (diff) | |
| download | ngircd-489d8c5cd0be81e39b3294385992f91986dfdf38.tar.gz ngircd-489d8c5cd0be81e39b3294385992f91986dfdf38.zip | |
Removed unportable %z formater in strftime().
| -rw-r--r-- | src/ngircd/irc-info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/irc-info.c b/src/ngircd/irc-info.c index 1c3e4d59..a11f9dad 100644 --- a/src/ngircd/irc-info.c +++ b/src/ngircd/irc-info.c @@ -14,7 +14,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: irc-info.c,v 1.15 2003/03/31 15:54:21 alex Exp $"; +static char UNUSED id[] = "$Id: irc-info.c,v 1.16 2003/04/21 10:54:30 alex Exp $"; #include "imp.h" #include <assert.h> @@ -437,7 +437,7 @@ IRC_TIME( CLIENT *Client, REQUEST *Req ) } t = time( NULL ); - (VOID)strftime( t_str, 60, "%A %B %d %Y -- %H:%M %z", localtime( &t )); + (VOID)strftime( t_str, 60, "%A %B %d %Y -- %H:%M %Z", localtime( &t )); return IRC_WriteStrClient( from, RPL_TIME_MSG, Client_ID( from ), Client_ID( Client_ThisServer( )), t_str ); } /* IRC_TIME */ |