From: warped-rudi Date: Thu, 28 Feb 2013 11:35:02 +0000 (+0100) Subject: Change variable names in TDA995X code path X-Git-Tag: upstream/2.2.0~1^2~6^2~1^2 X-Git-Url: https://git.piment-noir.org/?p=deb_libcec.git;a=commitdiff_plain;h=9f2a7a35d7da202ae48f60ee1ede6984ddd4aeec Change variable names in TDA995X code path --- diff --git a/src/lib/adapter/AdapterFactory.cpp b/src/lib/adapter/AdapterFactory.cpp index dbff5c4..42cdd0b 100644 --- a/src/lib/adapter/AdapterFactory.cpp +++ b/src/lib/adapter/AdapterFactory.cpp @@ -100,8 +100,8 @@ int8_t CAdapterFactory::DetectAdapters(cec_adapter_descriptor *deviceList, uint8 if (iAdaptersFound < iBufSize && CTDA995xCECAdapterDetection::FindAdapter() && (!strDevicePath || !strcmp(strDevicePath, CEC_TDA995x_VIRTUAL_COM))) { - snprintf(deviceList[iAdaptersFound].path, sizeof(deviceList[iAdaptersFound].strComPath), CEC_TDA995x_PATH); - snprintf(deviceList[iAdaptersFound].comm, sizeof(deviceList[iAdaptersFound].strComName), CEC_TDA995x_VIRTUAL_COM); + snprintf(deviceList[iAdaptersFound].strComPath, sizeof(deviceList[iAdaptersFound].strComPath), CEC_TDA995x_PATH); + snprintf(deviceList[iAdaptersFound].strComName, sizeof(deviceList[iAdaptersFound].strComName), CEC_TDA995x_VIRTUAL_COM); deviceList[iAdaptersFound].iVendorId = TDA995X_ADAPTER_VID; deviceList[iAdaptersFound].iProductId = TDA995X_ADAPTER_PID; deviceList[iAdaptersFound].adapterType = ADAPTERTYPE_TDA995x;