repo.or.cz
/
rofl0r-rocksock.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
examples/portscanner: quick hack to make it work on single host/portrange
[rofl0r-rocksock.git]
/
rocksock_strerror_detailed.c
blob
95efe02547ca663cc19cb6dbb13ce1509cb8e8d9
1
#include
"rocksock.h"
2
#include <stdio.h>
3
4
char
*
rocksock_strerror_detailed
(
rocksock
*
sock
,
char
*
msgbuf
,
size_t
buflen
)
5
{
6
snprintf
(
msgbuf
,
buflen
,
"%s (proxy %d)"
,
rocksock_strerror
(
sock
),
sock
->
lasterror
.
failedProxy
);
7
return
msgbuf
;
8
}