Renamed stanza->stream for id callback

This commit is contained in:
James Booth
2015-05-16 22:31:36 +01:00
parent ede3ccab9d
commit 94d1f1e84d
5 changed files with 9 additions and 9 deletions

View File

@@ -169,11 +169,11 @@ auth_callback(XMPPStanza *stanza, XMPPClient *client)
void
id_callback(const char *id, XMPPClient *client)
{
char *stanza_ret = prime_get_for(id);
if (stanza_ret) {
char *stream = prime_get_for(id);
if (stream) {
log_print_chars("\n");
log_println("--> ID callback fired for '%s'", id);
send_to(client, stanza_ret);
send_to(client, stream);
log_print("RECV: ");
}
}