From f6a9602c875904f89dd19723b0c920b94b5a3b35 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 8 Jan 2023 19:53:34 +0100 Subject: Improve get_domainpart() docs --- xmpp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmpp.c b/xmpp.c index f6bfc96..fbff363 100644 --- a/xmpp.c +++ b/xmpp.c @@ -36,8 +36,8 @@ */ char *get_domainpart(char *jid) { - int start = 0; // inclusive - int stop = strlen(jid); // exclusive + int start = 0; // inclusive index + int stop = strlen(jid); // exclusive index for(int i=0; i