Skip to content

Instantly share code, notes, and snippets.

@Veejay
Created September 21, 2012 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Veejay/3764364 to your computer and use it in GitHub Desktop.
Save Veejay/3764364 to your computer and use it in GitHub Desktop.
static linked_list**
find_key(linked_list *list, char *key)
{
linked_list *current = list;
while(!(current && (strcmp(current->kv.key, key)))){
current = current->next;
}
return &(current);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment