Added prime for id to http api

This commit is contained in:
James Booth
2015-06-01 19:50:50 +01:00
parent 46d82ef6f7
commit 32db648cfb
3 changed files with 21 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ prime_get_passwd(void)
}
void
prime_for(char *id, char *stream)
prime_for(const char *id, char *stream)
{
if (idstubs) {
g_hash_table_insert(idstubs, strdup(id), strdup(stream));