diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-01-31 19:09:48 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-01-31 19:09:48 +0000 |
commit | e70b4bb129fe1a69af39a8d2c248342224ee375a (patch) | |
tree | 2e104585fa4067055b9b9e06175a6bb2e34076be | |
parent | 1fd30de6a32a89eacf67bd7204c49193ec43c102 (diff) |
- ircd.c:set_time(): minor style cleanup
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2979 82007160-df01-0410-b94d-b575c5fd34c7
-rw-r--r-- | src/ircd.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -169,9 +169,7 @@ void set_time(void) { static char to_send[IRCD_BUFSIZE]; - struct timeval newtime; - newtime.tv_sec = 0; - newtime.tv_usec = 0; + struct timeval newtime = { .tv_sec = 0, .tv_usec = 0 }; if (gettimeofday(&newtime, NULL) == -1) { |