Skip to content

Commit 21fc9cb

Browse files
committed
client session CHANGE do not parse irrelevant replies
Refs #156
1 parent 6ba5d93 commit 21fc9cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/session_client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2060,7 +2060,7 @@ nc_recv_reply(struct nc_session *session, struct nc_rpc *rpc, uint64_t msgid, in
20602060

20612061
msgtype = get_msg(session, timeout, msgid, &xml);
20622062

2063-
if ((msgtype == NC_MSG_REPLY) || (msgtype == NC_MSG_REPLY_ERR_MSGID)) {
2063+
if (msgtype == NC_MSG_REPLY) {
20642064
*reply = parse_reply(session->ctx, xml, rpc, parseroptions);
20652065
lyxml_free(session->ctx, xml);
20662066
if (!(*reply)) {

0 commit comments

Comments
 (0)