diff options
author | xengineering <me@xengineering.eu> | 2023-01-08 20:02:33 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-01-08 20:02:33 +0100 |
commit | b8276ea495a81050e8b749bb1a6bad783dd3606d (patch) | |
tree | 6bd0cf5d79bd9cd67c8f9f451fbce1480460c4c6 | |
parent | 5c22f7d803e3ec84ddad00e13ba617a9bc645d11 (diff) | |
download | limox-b8276ea495a81050e8b749bb1a6bad783dd3606d.tar limox-b8276ea495a81050e8b749bb1a6bad783dd3606d.tar.zst limox-b8276ea495a81050e8b749bb1a6bad783dd3606d.zip |
Remove xmpp_ prefix from private function
This is just internally used and thus has no benefit.
-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; } |