rocksockserver: put NO_LOG ifdef logic into macro
[rofl0r-rocksock.git] / rocksock_error.c
blobb470b87b6096762edbe4bde87a95fb5b2289b31b
1 #include "rocksock.h"
3 enum rs_errorType rocksock_get_errortype(rocksock *sock) {
4 return sock->lasterror.errortype;
7 int rocksock_get_error(rocksock *sock) {
8 return sock->lasterror.error;