瀏覽代碼

modules/auth: fixed comment in nonce_count example

Juha Heinanen 15 年之前
父節點
當前提交
d5634f0e2e
共有 2 個文件被更改,包括 8 次插入4 次删除
  1. 4 2
      modules/auth/README
  2. 4 2
      modules/auth/doc/params.xml

+ 4 - 2
modules/auth/README

@@ -194,8 +194,10 @@ modparam("auth", "qop", "auth")    # enable qop=auth
 route{
 ...
         # go stateful and catch retransmissions
-        if (!t_newtran())
-                drop; # retransmission
+        if (!t_newtran()) {
+            xlog("L_NOTICE", "Failed to create new transaction\n");
+            drop;
+        };
         if (method=="REGISTER"){
                 if (!www_authenticate("test", "credentials")){
                         # reply must be sent with t_reply because the

+ 4 - 2
modules/auth/doc/params.xml

@@ -194,8 +194,10 @@ modparam("auth", "qop", "auth")    # enable qop=auth
 route{
 ...
 	# go stateful and catch retransmissions
-	if (!t_newtran())
-		drop; # retransmission
+	if (!t_newtran()) {
+	    xlog("L_NOTICE", "Failed to create new transaction\n");
+ 	    drop;
+	};
 	if (method=="REGISTER"){
 		if (!www_authenticate("test", "credentials")){
 			# reply must be sent with t_reply because the