| 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 |