4
Fork 0

Update PatchCord.cpp

This commit is contained in:
R3ABM Artem 2021-11-07 19:56:42 +00:00
parent 6d2ec2004c
commit 89ba5cab16

View file

@ -1,4 +1,4 @@
// Copyright 2015-2021 by Artem Prilutskiy // Copyright 2015-2019 by Artem Prilutskiy
#include "PatchCord.h" #include "PatchCord.h"
@ -191,6 +191,7 @@ uint32_t PatchCord::getPrivateIDForCall(const char* call)
if (response != NULL) if (response != NULL)
{ {
dbus_bool_t active;
dbus_uint32_t number; dbus_uint32_t number;
dbus_uint32_t algorithm; dbus_uint32_t algorithm;
dbus_uint32_t key; dbus_uint32_t key;
@ -238,6 +239,7 @@ bool PatchCord::getCredentialsForID(uint32_t number, char* call, char* text)
if (response != NULL) if (response != NULL)
{ {
dbus_bool_t active;
dbus_uint32_t number; dbus_uint32_t number;
dbus_uint32_t algorithm; dbus_uint32_t algorithm;
dbus_uint32_t key; dbus_uint32_t key;
@ -260,6 +262,7 @@ bool PatchCord::getCredentialsForID(uint32_t number, char* call, char* text)
DBUS_TYPE_STRING, &value1, DBUS_TYPE_STRING, &value1,
DBUS_TYPE_STRING, &value2, DBUS_TYPE_STRING, &value2,
DBUS_TYPE_STRING, &symbol, DBUS_TYPE_STRING, &symbol,
DBUS_TYPE_BOOLEAN, &active,
DBUS_TYPE_INVALID)) DBUS_TYPE_INVALID))
{ {
strcpy(call, value1); strcpy(call, value1);