off by one

This commit is contained in:
Anthony Minessale 2010-08-27 13:08:33 -05:00
parent ef14b78a8a
commit e0d4c195ef
1 changed files with 3 additions and 3 deletions

View File

@ -965,9 +965,9 @@ static int sofia_presence_resub_callback(void *pArg, int argc, char **argv, char
switch_url_decode(to_buf); switch_url_decode(to_buf);
to_user = to_buf; to_user = to_buf;
} }
if (argc > 10 && !zstr(argv[9]) && !zstr(argv[10])) { if (argc > 10 && !zstr(argv[10]) && !zstr(argv[11])) {
status = argv[9]; status = argv[10];
rpid = argv[10]; rpid = argv[11];
} }
} }