浏览代码

*** empty log message ***

Jan Janak 23 年之前
父节点
当前提交
e7997af877
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      parser/digest/digest_parser.c

+ 2 - 1
parser/digest/digest_parser.c

@@ -300,7 +300,8 @@ int parse_digest_cred(str* _s, dig_cred_t* _c)
 	    ((tmp.s[DIG_LEN] == ' ') ||     /* Test for one of LWS chars */
 	     (tmp.s[DIG_LEN] == '\r') || 
 	     (tmp.s[DIG_LEN] == 'n') || 
-	     (tmp.s[DIG_LEN] == '\t'))) {
+	     (tmp.s[DIG_LEN] == '\t') ||
+	     (tmp.s[DIG_LEN] == ','))) {
 		     /* Scheme is Digest */
 		tmp.s += DIG_LEN + 1;
 		tmp.len -= DIG_LEN + 1;