unsigned long long llBytes = 0;
+ //As per developer,if interface has no recv/sent byte, llBytes should be zero so llBytes value is not checked
int nRet = inm_link_get_received_bytes(g_hLinkHandle, &llBytes);
PRINT_RESULT(nRet, INM_ERROR_NONE, "inm_link_get_received_bytes", InmGetError(nRet));
- if( llBytes == 0 )
- {
- FPRINTF("[Line : %d][%s] %s failed. llBytes = %llu\\n", __LINE__, API_NAMESPACE, "inm_link_get_received_bytes", llBytes);
- return 1;
- }
return 0;
}
unsigned long long llBytes = 0;
+ //As per developer,if interface has no recv/sent byte, llBytes should be zero so llBytes value is not checked
int nRet = inm_link_get_sent_bytes(g_hLinkHandle, &llBytes);
PRINT_RESULT(nRet, INM_ERROR_NONE, "inm_link_get_sent_bytes", InmGetError(nRet));
- if( llBytes == 0 )
- {
- FPRINTF("[Line : %d][%s] %s failed. llBytes = %llu\\n", __LINE__, API_NAMESPACE, "inm_link_get_sent_bytes", llBytes);
- return 1;
- }
return 0;
}