examples/portscanner: quick hack to make it work on single host/portrange
[rofl0r-rocksock.git] / rocksock_strerror_detailed.c
blob95efe02547ca663cc19cb6dbb13ce1509cb8e8d9
1 #include "rocksock.h"
2 #include <stdio.h>
4 char* rocksock_strerror_detailed(rocksock *sock, char *msgbuf, size_t buflen)
6 snprintf(msgbuf, buflen, "%s (proxy %d)", rocksock_strerror(sock), sock->lasterror.failedProxy);
7 return msgbuf;