Skip to content

Commit

Permalink
And initialize the variable
Browse files Browse the repository at this point in the history
  • Loading branch information
olabini committed Oct 6, 2018
1 parent ef718ef commit 0238e8a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ API otrng_client_s *otrng_client_new(const otrng_client_id_s client_id) {
#define CLIENT_PROFILE_EXPIRATION_SECONDS 2 * 7 * 24 * 60 * 60; /* 2 weeks */
client->client_profile_exp_time = CLIENT_PROFILE_EXPIRATION_SECONDS;

#define PROFILES_CLOSE_TO_EXPIRATION_TIME_SECONDS 57 * 60 /* 57 minutes*/
client->profiles_buffer_time = PROFILES_CLOSE_TO_EXPIRATION_TIME_SECONDS;

return client;
}

Expand Down

0 comments on commit 0238e8a

Please sign in to comment.