summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-01-08 19:53:34 +0100
committerxengineering <me@xengineering.eu>2023-01-08 19:53:34 +0100
commitf6a9602c875904f89dd19723b0c920b94b5a3b35 (patch)
tree2beaf51ebccc0f2161108785f480b8c3102124c9
parentb6075dd5e7632398a37456ef2670c075f152635f (diff)
downloadlimox-f6a9602c875904f89dd19723b0c920b94b5a3b35.tar
limox-f6a9602c875904f89dd19723b0c920b94b5a3b35.tar.zst
limox-f6a9602c875904f89dd19723b0c920b94b5a3b35.zip
Improve get_domainpart() docs
-rw-r--r--xmpp.c4
1 files 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<strlen(jid); i++) {
if (jid[i] == '/') {