summaryrefslogtreecommitdiff
path: root/ecp
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-10-24 20:00:20 +0200
committerUros Majstorovic <majstor@majstor.org>2022-10-24 20:00:20 +0200
commit5940fa1970df47ad9d9c717d4d283692e69a4ab4 (patch)
treefd1eabb6accded781ca71ecb2cedf5ba04d8bc31 /ecp
parentb74b1c08b76e448df27b6fff50cca6fed3e4e7a7 (diff)
fixed initHEADmaster
Diffstat (limited to 'ecp')
-rw-r--r--ecp/test/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp/test/init.c b/ecp/test/init.c
index b75b2ee..161742b 100644
--- a/ecp/test/init.c
+++ b/ecp/test/init.c
@@ -4,7 +4,7 @@
#include <ecp/core.h>
static void handle_err(ECPConnection *conn, unsigned char mtype, int err) {
- printf("ERR: CTYPE:%d MTYPE:%x ERR:%d\n", conn->type, mtype, err);
+ printf("ERR: CTYPE:0x%x MTYPE:0x%x ERR:%d\n", conn->type, mtype, err);
}
static ECPConnection *conn_new(ECPSocket *sock, unsigned char type) {