summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-01-08 20:02:33 +0100
committerxengineering <me@xengineering.eu>2023-01-08 20:02:33 +0100
commitb8276ea495a81050e8b749bb1a6bad783dd3606d (patch)
tree6bd0cf5d79bd9cd67c8f9f451fbce1480460c4c6
parent5c22f7d803e3ec84ddad00e13ba617a9bc645d11 (diff)
downloadlimox-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.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;
}