diff options
author | xengineering <me@xengineering.eu> | 2023-01-08 19:53:34 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-01-08 19:53:34 +0100 |
commit | f6a9602c875904f89dd19723b0c920b94b5a3b35 (patch) | |
tree | 2beaf51ebccc0f2161108785f480b8c3102124c9 | |
parent | b6075dd5e7632398a37456ef2670c075f152635f (diff) | |
download | limox-f6a9602c875904f89dd19723b0c920b94b5a3b35.tar limox-f6a9602c875904f89dd19723b0c920b94b5a3b35.tar.zst limox-f6a9602c875904f89dd19723b0c920b94b5a3b35.zip |
Improve get_domainpart() docs
-rw-r--r-- | xmpp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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] == '/') { |