Browse Source

- fixed typo ('n' -> '\n'), reported by Tomas Mandys

Jan Janak 19 years ago
parent
commit
8b537bd17a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      parser/digest/digest_parser.c

+ 1 - 1
parser/digest/digest_parser.c

@@ -360,7 +360,7 @@ int parse_digest_cred(str* _s, dig_cred_t* _c)
 	if (!strncasecmp(tmp.s, DIGEST_SCHEME, DIG_LEN) &&
 	    ((tmp.s[DIG_LEN] == ' ') ||     /* Test for one of LWS chars */
 	     (tmp.s[DIG_LEN] == '\r') || 
-	     (tmp.s[DIG_LEN] == 'n') || 
+	     (tmp.s[DIG_LEN] == '\n') || 
 	     (tmp.s[DIG_LEN] == '\t') ||
 	     (tmp.s[DIG_LEN] == ','))) {
 		     /* Scheme is Digest */