added debug output.
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
#include <gwenhywfar/inherit.h>
|
#include <gwenhywfar/inherit.h>
|
||||||
#include <gwenhywfar/debug.h>
|
#include <gwenhywfar/debug.h>
|
||||||
|
#include <gwenhywfar/text.h>
|
||||||
|
|
||||||
//#include <sys/socket.h>
|
//#include <sys/socket.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@@ -170,6 +171,7 @@ int AQH_FdObject_Read(AQH_OBJECT *o, uint8_t *ptrBuffer, uint32_t lenBuffer)
|
|||||||
else if (rv>0) {
|
else if (rv>0) {
|
||||||
/* data received */
|
/* data received */
|
||||||
DBG_DEBUG(AQH_LOGDOMAIN, "Received %d bytes", (int) rv);
|
DBG_DEBUG(AQH_LOGDOMAIN, "Received %d bytes", (int) rv);
|
||||||
|
// GWEN_Text_LogString((const char*) ptrBuffer, rv, NULL, GWEN_LoggerLevel_Error);
|
||||||
return (int) rv;
|
return (int) rv;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user