Skip to content
Snippets Groups Projects
Commit 36c691c6 authored by Russell Jancewicz's avatar Russell Jancewicz
Browse files

Merge pull request #46 from ehashman/issue45

Fix #45: max (renewable) ticket life is negative - initialization should have no side effects.
parents cc1fd897 73c41f20
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,8 @@ char *pykadmin_timestamp_as_isodate(time_t timestamp, const char *zero) {
char *pykadmin_timestamp_as_deltastr(int seconds, const char *zero) {
char *deltastr = NULL;
int negative, days, hours, minutes;
int days, hours, minutes;
int negative = 0;
if (seconds != 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment