summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/res_jabber.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_jabber.c b/res/res_jabber.c
index 52b7c1d1c..1dcce5de7 100644
--- a/res/res_jabber.c
+++ b/res/res_jabber.c
@@ -325,7 +325,7 @@ static int aji_status_exec(struct ast_channel *chan, void *data)
return -1;
}
- if(!strchr(screename, '/')) {
+ if(!strchr(screenname, '/')) {
resource = NULL;
} else {
resource = strsep(&screenname, "/");