libpurple/protocols/jabber/auth_digest_md5.c

changeset 39913
ce96d4639dc7
parent 38341
3da74e727e78
child 40358
e6fe6fc1f516
equal deleted inserted replaced
39912:94c809048a88 39913:ce96d4639dc7
53 while(*cur != '\0') { 53 while(*cur != '\0') {
54 /* Find the end of the token */ 54 /* Find the end of the token */
55 gboolean in_quotes = FALSE; 55 gboolean in_quotes = FALSE;
56 char *name, *value = NULL; 56 char *name, *value = NULL;
57 token_start = cur; 57 token_start = cur;
58 while(*cur != '\0' && (in_quotes || (!in_quotes && *cur != ','))) { 58 while (*cur != '\0' && (in_quotes || *cur != ',')) {
59 if (*cur == '"') 59 if (*cur == '"')
60 in_quotes = !in_quotes; 60 in_quotes = !in_quotes;
61 cur++; 61 cur++;
62 } 62 }
63 63

mercurial