mirror of
https://repo.or.cz/socat.git
synced 2025-07-27 13:02:57 +00:00
corrected the "fixed possible SIGSEGV" fix
This commit is contained in:
parent
7c2039ada8
commit
67a1060b49
3 changed files with 9 additions and 2 deletions
|
@ -219,8 +219,10 @@ int _xioopen_listen(struct single *xfd, int xioflags, struct sockaddr *us, sockl
|
|||
char peername[256];
|
||||
char sockname[256];
|
||||
int ps; /* peer socket */
|
||||
salen = sizeof(struct sockaddr);
|
||||
|
||||
pa = &_peername;
|
||||
la = &_sockname;
|
||||
salen = sizeof(struct sockaddr);
|
||||
do {
|
||||
/*? int level = E_ERROR;*/
|
||||
Notice1("listening on %s", sockaddr_info(us, uslen, lisname, sizeof(lisname)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue