Do not put a space before ';' when terminating a statement or in a 'for' statement.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: time.c,v 1.20 2001/11/12 19:05:33 gson Exp $ */
|
||||
/* $Id: time.c,v 1.21 2001/11/27 00:55:57 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -145,7 +145,7 @@ dns_time64_fromtext(const char *source, isc_int64_t *target) {
|
||||
* Calulate seconds since epoch.
|
||||
*/
|
||||
value = second + (60 * minute) + (3600 * hour) + ((day - 1) * 86400);
|
||||
for (i = 0; i < (month - 1) ; i++)
|
||||
for (i = 0; i < (month - 1); i++)
|
||||
value += days[i] * 86400;
|
||||
if (is_leap(year) && month > 2)
|
||||
value += 86400;
|
||||
|
||||
Reference in New Issue
Block a user