summaryrefslogtreecommitdiff
path: root/ecp/test/init_vconn.h
diff options
context:
space:
mode:
Diffstat (limited to 'ecp/test/init_vconn.h')
-rw-r--r--ecp/test/init_vconn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp/test/init_vconn.h b/ecp/test/init_vconn.h
index 06f10e2..a2228dd 100644
--- a/ecp/test/init_vconn.h
+++ b/ecp/test/init_vconn.h
@@ -1,3 +1,3 @@
-#define LOG(fmt, rv) { printf(fmt " RV:%d\n", rv); if (rv) exit(1); }
+#define LOG(fmt, rv) { printf(fmt " RV:%d\n", rv); if (rv<0) exit(1); }
int ecp_init(ECPContext *ctx, ECPConnHandler *vconn_handler, ECPConnHandler *vlink_handler); \ No newline at end of file