Skip to content

Instantly share code, notes, and snippets.

@olivierlemoal
Last active August 29, 2015 14:15
Show Gist options
  • Save olivierlemoal/418af1008833de5e3bae to your computer and use it in GitHub Desktop.
Save olivierlemoal/418af1008833de5e3bae to your computer and use it in GitHub Desktop.
Dump XMPP packet libstrophe
log_error("XMPP : ");
char* xmpp;
size_t length;
xmpp_stanza_to_text(stanza, &xmpp, &length);
log_error(xmpp);
free(xmpp);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment