Merge pull request #119 from DavidLin1577/patch-4

Fixed wrong parameter in  debug output info
This commit is contained in:
Arthur
2020-03-07 10:46:48 +08:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@@ -74,7 +74,7 @@ __QCLOUD_OSAL__ qcloud_err_t osal_udp_read(int sockfd, void *buf, size_t len, ui
{
int ret;
QCLOUD_LOG_I("osal_udp_read len %d timeout %d\r\n", len);
QCLOUD_LOG_I("osal_udp_read len %d timeout %d\r\n", len, timeout);
ret = tos_sal_module_recvfrom_timeout(sockfd, buf, len, timeout);

View File

@@ -81,7 +81,7 @@ int HAL_UDP_Read(uintptr_t fd, unsigned char *p_data, unsigned int datalen)
{
int ret;
Log_i("osal_udp_read len %d timeout %d\r\n", datalen);
Log_i("osal_udp_read len %d\r\n", datalen);
ret = tos_sal_module_recvfrom(fd, p_data, datalen);
@@ -100,7 +100,7 @@ int HAL_UDP_ReadTimeout(uintptr_t fd, unsigned char *p_data, unsigned int datale
{
int ret;
Log_i("osal_udp_read len %d timeout %d\r\n", datalen);
Log_i("osal_udp_read len %d timeout %d\r\n", datalen, timeout_ms);
ret = tos_sal_module_recvfrom_timeout(fd, p_data, datalen, timeout_ms);

View File

@@ -80,7 +80,7 @@ int HAL_UDP_Read(uintptr_t fd, unsigned char *p_data, unsigned int datalen)
{
int ret;
Log_i("osal_udp_read len %d timeout %d\r\n", datalen);
Log_i("osal_udp_read len %d\r\n", datalen);
ret = tos_sal_module_recvfrom(fd, p_data, datalen);
@@ -99,7 +99,7 @@ int HAL_UDP_ReadTimeout(uintptr_t fd, unsigned char *p_data, unsigned int datale
{
int ret;
Log_i("osal_udp_read len %d timeout %d\r\n", datalen);
Log_i("osal_udp_read len %d timeout %d\r\n", datalen, timeout_ms);
ret = tos_sal_module_recvfrom_timeout(fd, p_data, datalen, timeout_ms);