diff --git a/SVXLink/echolink/PatchCord.cpp b/SVXLink/echolink/PatchCord.cpp index 4668e48..43f1355 100644 --- a/SVXLink/echolink/PatchCord.cpp +++ b/SVXLink/echolink/PatchCord.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2019 by Artem Prilutskiy +// Copyright 2015-2021 by Artem Prilutskiy #include "PatchCord.h" @@ -87,7 +87,7 @@ void PatchCord::getContextBanner() DBUS_TYPE_INVALID)) && (count > 0)) { - strncpy(banner,array[0], BANNER_BUFFER_LENGTH); + strncpy(banner, array[0], BANNER_BUFFER_LENGTH); renewal = now + BANNER_RENEWAL_INTERVAL; dbus_free_string_array(array); } @@ -213,6 +213,7 @@ uint32_t PatchCord::getPrivateIDForCall(const char* call) DBUS_TYPE_STRING, &call, DBUS_TYPE_STRING, &text, DBUS_TYPE_STRING, &symbol, + DBUS_TYPE_BOOLEAN, &active, DBUS_TYPE_INVALID)) value = number;