Commit Diff
Diff:
daa996f1778a1d7ba97a10936fbbb522cc63b581
489d8c5cd0be81e39b3294385992f91986dfdf38
Commit:
489d8c5cd0be81e39b3294385992f91986dfdf38
Tree:
7d77148e544c0f28b7496ef1e935e4b7c773ae4d
Author:
Alexander Barton <alex@barton.de>
Committer:
Alexander Barton <alex@barton.de>
Date:
Mon Apr 21 10:54:30 2003 UTC
Message:
Removed unportable %z formater in strftime().
blob - 1c3e4d59c4a8edc2f3fb50d3723cf2f9f2dfe0a4
blob + a11f9dadcc11a7406360710dcc1af6d18461f011
--- src/ngircd/irc-info.c
+++ 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 */
IRCNow