summaryrefslogtreecommitdiff
path: root/xmpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp.c')
-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] == '/') {