< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] [resiprocate/resiprocate] log errno names instead of values (#47)


https://project.freertc.org/issues/25

In Order to solve this bug, I have created one header file Errdes.hxx inside rutil directory. It has an error messages associated with the error number/code from the following functions :

-> SSL_ERROR_SYSCALL
-> SSL_get_error
-> X509_verify_cert_error_string

I have updated all the files(32) that contains numeric log messages. Now these files will call function from Errdes.hxx and will log error message instead of error code.

Example:
int e = getErrno();
ErrLog( << "socket error " << e);
At present, logs a numeric error code, e.g.
"socket error 22"
After commit, it will log error message, e.g.
"socket error EINVAL (Invalid argument)"

For quick view of all the files that i have updated please visit


You can view, comment on, or merge this pull request online at:

  https://github.com/resiprocate/resiprocate/pull/47

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.