session CHANGE nc_accept is transport-independent
Binds therefore too.
diff --git a/src/session_client.c b/src/session_client.c
index d8be817..b1cd23e 100644
--- a/src/session_client.c
+++ b/src/session_client.c
@@ -858,7 +858,7 @@
data = NULL;
}
if (!schema) {
- ERR("%s: internal error (%s:%d).", __func__, __FILE__, __LINE__);
+ ERRINT;
return NULL;
}
break;
@@ -877,7 +877,7 @@
case NC_RPC_GETSCHEMA:
schema = ly_ctx_get_node(ctx, "/ietf-netconf-monitoring:get-schema");
if (!schema) {
- ERR("%s: internal error (%s:%d).", __func__, __FILE__, __LINE__);
+ ERRINT;
return NULL;
}
break;