Module: kamailio
Branch: master
Commit: 6cd8cdc80e5037b90f7e636c360c88eed1dcdcec
URL:
https://github.com/kamailio/kamailio/commit/6cd8cdc80e5037b90f7e636c360c88e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-08T15:10:04+02:00
auth: fixed improper whitespacing
(cherry picked from commit 20231f4936b5f79bcb2e3f64985953888391e570)
---
Modified: modules/auth/nonce.c
---
Diff:
https://github.com/kamailio/kamailio/commit/6cd8cdc80e5037b90f7e636c360c88e…
Patch:
https://github.com/kamailio/kamailio/commit/6cd8cdc80e5037b90f7e636c360c88e…
---
diff --git a/modules/auth/nonce.c b/modules/auth/nonce.c
index 025d0d7..d65d9cd 100644
--- a/modules/auth/nonce.c
+++ b/modules/auth/nonce.c
@@ -357,10 +357,10 @@ int check_nonce(auth_body_t* auth, str* secret1, str* secret2,
different length (for example because of different auth.
checks).. Therefore we force credentials to be rebuilt by UAC
without prompting for password */
- /* if current time is less than start time, reset the start time
- (e.g., after start, the system clock was set in the past) */
- t=time(0);
- if (t < up_since)
+ /* if current time is less than start time, reset the start time
+ * (e.g., after start, the system clock was set in the past) */
+ t=time(0);
+ if (t < up_since)
up_since = t;
if (since < t)
return 4;