Module: kamailio
Branch: master
Commit: 6cd8cdc80e5037b90f7e636c360c88eed1dcdcec
URL: 
https://github.com/kamailio/kamailio/commit/6cd8cdc80e5037b90f7e636c360c88eed1dcdcec

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
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/6cd8cdc80e5037b90f7e636c360c88eed1dcdcec.diff
Patch: 
https://github.com/kamailio/kamailio/commit/6cd8cdc80e5037b90f7e636c360c88eed1dcdcec.patch

---

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; 


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to