strcat (val, value);
}
}
- GNUNET_array_grow (u->data.ksk.keywords,
- u->data.ksk.keywordCount, u->data.ksk.keywordCount + 1);
- u->data.ksk.keywords[u->data.ksk.keywordCount - 1] = val;
+ GNUNET_array_append (u->data.ksk.keywords,
+ u->data.ksk.keywordCount,
+ val);
return GNUNET_OK;
}
*mm = meta;
}
- tmp = GNUNET_STRINGS_to_utf8 (value, strlen (value),
#if ENABLE_NLS
- nl_langinfo (CODESET)
+ tmp = GNUNET_STRINGS_to_utf8 (value, strlen (value),
+ nl_langinfo (CODESET));
#else
- "utf-8"
+ tmp = GNUNET_STRINGS_to_utf8 (value, strlen (value),
+ "utf-8");
#endif
- );
type = EXTRACTOR_metatype_get_max ();
while (type > 0)
{