diff options
Diffstat (limited to 'xmpp.c')
-rw-r--r-- | xmpp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -107,7 +107,7 @@ struct addrinfo *resolve_dns(char *domain) * * Returns 0 in case of success and -1 otherwise. */ -int xmpp_start_stream(int sock_fd, char *jid, char *domainpart) +int start_stream(int sock_fd, char *jid, char *domainpart) { const char *tmpl = "<stream:stream\ from='%s'\ @@ -167,7 +167,7 @@ int xmpp_connect(void) printf("Successfully connected.\n"); } - if (xmpp_start_stream(sock, jid, domain) == -1) { + if (start_stream(sock, jid, domain) == -1) { printf("Failed to init stream!\n"); return sock; } |