zhangmeng
2022-06-09 39c30eb5348b640c361cb50c2f02cf27b8bdf783
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;