static char *get_calleridname(const char *input, char *output, size_t outputsize)
{
const char *end = strchr(input,'<'); /* first_bracket */
- const char *tmp = strchr(input,'\"'); /* first quote */
+ const char *tmp = strchr(input,'"'); /* first quote */
int bytes = 0;
int maxbytes = outputsize - 1;
/* we found "name" */
if (tmp && tmp < end) {
- end = strchr(tmp+1, '\"');
+ end = strchr(tmp+1, '"');
if (!end)
return NULL;
bytes = (int) (end - tmp);
continue;
/* Found. Skip keyword, take text in quotes or up to the separator. */
c += strlen(i->key);
- if (*c == '\"') {
+ if (*c == '"') {
src = ++c;
separator = "\"";
} else {