summaryrefslogtreecommitdiff
path: root/xmpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp.c')
-rw-r--r--xmpp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmpp.c b/xmpp.c
index b220e53..77567e8 100644
--- a/xmpp.c
+++ b/xmpp.c
@@ -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;
}