mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 15:32:35 +00:00
Removed trailing white space from *.h and *.c files
This commit is contained in:
parent
920d77847d
commit
33896a3f38
38 changed files with 172 additions and 165 deletions
2
CHANGES
2
CHANGES
|
@ -83,6 +83,8 @@ Coding:
|
|||
Stream dump write now warn on write errors and partial writes (but
|
||||
still do not recover).
|
||||
|
||||
Removed trailing white space from *.h and *.c files.
|
||||
|
||||
Porting:
|
||||
Small correction in configure.ac makes Socat C99 able.
|
||||
Thanks to Florian Weimer from Red Hat for providing a patch.
|
||||
|
|
3
socat.c
3
socat.c
|
@ -738,8 +738,7 @@ int socat(const char *address1, const char *address2) {
|
|||
#endif
|
||||
|
||||
Info("resolved and opened all sock addresses");
|
||||
return
|
||||
_socat(); /* nsocks, sockets are visible outside function */
|
||||
return _socat(); /* nsocks, sockets are visible outside function */
|
||||
}
|
||||
|
||||
/* checks if this is a connection to a child process, and if so, sees if the
|
||||
|
|
12
xio-exec.c
12
xio-exec.c
|
@ -126,11 +126,17 @@ static int xioopen_exec(int argc, const char *argv[], struct opt *opts,
|
|||
Execvp(token, pargv);
|
||||
/* here we come only if execvp() failed */
|
||||
switch (pargc) {
|
||||
case 1: Error3("execvp(\"%s\", \"%s\"): %s", token, pargv[0], strerror(errno)); break;
|
||||
case 2: Error4("execvp(\"%s\", \"%s\", \"%s\"): %s", token, pargv[0], pargv[1], strerror(errno)); break;
|
||||
case 1:
|
||||
Error3("execvp(\"%s\", \"%s\"): %s",
|
||||
token, pargv[0], strerror(errno)); break;
|
||||
case 2:
|
||||
Error4("execvp(\"%s\", \"%s\", \"%s\"): %s",
|
||||
token, pargv[0], pargv[1], strerror(errno)); break;
|
||||
case 3:
|
||||
default:
|
||||
Error5("execvp(\"%s\", \"%s\", \"%s\", \"%s\", ...): %s", token, pargv[0], pargv[1], pargv[2], strerror(errno)); break;
|
||||
Error5("execvp(\"%s\", \"%s\", \"%s\", \"%s\", ...): %s", token,
|
||||
pargv[0], pargv[1], pargv[2], strerror(errno));
|
||||
break;
|
||||
}
|
||||
Exit(1); /* this child process */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue