mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-12 23:46:36 +00:00
Fix #5992 - Honor ^C in tcp://
This commit is contained in:
parent
258e12fdd8
commit
f80685c259
@ -77,6 +77,9 @@ static inline int getmalfd (RIOMalloc *mal) {
|
||||
static ut8 *tcpme (const char *pathname, int *code, int *len) {
|
||||
pathname += 6;
|
||||
*code = 404;
|
||||
#if __UNIX__
|
||||
signal (SIGINT, 0);
|
||||
#endif
|
||||
if (*pathname == ':') {
|
||||
/* listen and wait for connection */
|
||||
RSocket *sl = r_socket_new (false);
|
||||
|
Loading…
Reference in New Issue
Block a user