]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4525 --resolve ok there was 2 parts to this and I missed one, your client actually...
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 24 Aug 2012 18:15:57 +0000 (13:15 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 24 Aug 2012 18:15:57 +0000 (13:15 -0500)
src/mod/endpoints/mod_sofia/sofia_presence.c

index 3388745d828b3c54352b337c047c1601b0d770e9..6f734782eb7aeed30236fed5254b990b47cfcd2b 100644 (file)
@@ -1626,7 +1626,7 @@ void sofia_presence_mwi_event_handler(switch_event_t *event)
 static int sofia_presence_sub_reg_callback(void *pArg, int argc, char **argv, char **columnNames)
 {
        sofia_profile_t *profile = (sofia_profile_t *) pArg;
-       char *user = argv[1];
+       char *user = argv[3];
        char *host = argv[2];
        switch_event_t *event;
        char *event_name = argv[5];