Switch PJSIP auth to use a vector.
[asterisk/asterisk.git] / res / res_pjsip / pjsip_distributor.c
index 5e53cb0..e59305e 100644 (file)
@@ -227,7 +227,7 @@ static int create_artificial_endpoint(void)
                return -1;
        }
 
-       artificial_endpoint->inbound_auths.num = 1;
+       AST_VECTOR_INIT(&artificial_endpoint->inbound_auths, 1);
        return 0;
 }