Skip to content

Instantly share code, notes, and snippets.

@jdoxey
Last active August 29, 2015 14:07
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 jdoxey/10884049f46260f6bc68 to your computer and use it in GitHub Desktop.
Save jdoxey/10884049f46260f6bc68 to your computer and use it in GitHub Desktop.
static void message_received(DictionaryIterator *iterator, void *context) {
char *message = dict_find(iterator, 0)->value->cstring;
APP_LOG(APP_LOG_LEVEL_DEBUG, "Got message: %s", message);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment