fix condition check error found by coverity
@@ -510,7 +510,6 @@ static void decorate_connection(qd_server_t *qd_server, pn_connection_t *conn, c
}
pn_data_exit(pn_connection_properties(conn));
}
- }
// Append any user-configured properties. conn_props is a pn_data_t PN_MAP
// type. Append the map elements - not the map itself!
@@ -536,6 +535,7 @@ static void decorate_connection(qd_server_t *qd_server, pn_connection_t *conn, c
qdpn_data_insert(outp, config->conn_props);
}
}
+ }
pn_data_exit(pn_connection_properties(conn));
}
