void
muscle_insert (const char *key, const char *value)
{
- muscle_entry_t pair = { key, NULL };
+ muscle_entry_t pair;
+ pair.key = key;
muscle_entry_t *entry = hash_lookup (muscle_table, &pair);
if (!entry)
const char*
muscle_find (const char *key)
{
- muscle_entry_t pair = { key, NULL };
+ muscle_entry_t pair;
+ pair.key = key;
muscle_entry_t *result = hash_lookup (muscle_table, &pair);
return result ? result->value : NULL;
}