zhangzengfei
2022-06-07 c4bef30615743c72e8b1d96c2b74529cfd55b585
src/nng_wrap.cpp
@@ -69,6 +69,10 @@
        *dest_len = src_len;
}
void set_last_error(const std::string& emsg){
    verbose_info += emsg;
}
void get_last_error(int* ec, void** emsg, int* emsg_len){
    *emsg = NULL;
    *emsg_len = 0;