* Cosmetic: remove trailing spaces from the source code.
This commit is contained in:
+1
-1
@@ -139,7 +139,7 @@ void _zz_debug(char const *format, ...)
|
||||
break;
|
||||
if(i == 0)
|
||||
write(_zz_debugfd, ".", 1);
|
||||
write(_zz_debugfd, hex2char + (int)g, 1);
|
||||
write(_zz_debugfd, hex2char + (int)g, 1);
|
||||
}
|
||||
}
|
||||
else if(f[0] == 'p')
|
||||
|
||||
@@ -100,12 +100,12 @@ void _zz_exclude(char const *regex)
|
||||
}
|
||||
|
||||
void _zz_ports(char const *portlist)
|
||||
{
|
||||
{
|
||||
ports = _zz_allocrange(portlist, static_ports);
|
||||
}
|
||||
|
||||
void _zz_list(char const *fdlist)
|
||||
{
|
||||
{
|
||||
list = _zz_allocrange(fdlist, static_list);
|
||||
}
|
||||
|
||||
@@ -260,7 +260,7 @@ void _zz_register(int fd)
|
||||
fds[i] = -1;
|
||||
maxfd *= 2;
|
||||
}
|
||||
|
||||
|
||||
/* Find an empty slot */
|
||||
for(i = 0; i < nfiles; i++)
|
||||
if(files[i].managed == 0)
|
||||
|
||||
+3
-3
@@ -325,7 +325,7 @@ RECV_T NEW(recv)(int s, void *buf, size_t len, int flags)
|
||||
if(!_zz_ready || !_zz_iswatched(s) || _zz_islocked(s) || !_zz_isactive(s))
|
||||
return ret;
|
||||
|
||||
if(ret > 0)
|
||||
if(ret > 0)
|
||||
{
|
||||
char *b = buf;
|
||||
|
||||
@@ -349,7 +349,7 @@ RECV_T NEW(recv)(int s, void *buf, size_t len, int flags)
|
||||
|
||||
#if defined HAVE_RECVFROM
|
||||
RECV_T NEW(recvfrom)(int s, void *buf, size_t len, int flags,
|
||||
struct sockaddr *from, SOCKLEN_T *fromlen)
|
||||
struct sockaddr *from, SOCKLEN_T *fromlen)
|
||||
{
|
||||
int ret;
|
||||
|
||||
@@ -358,7 +358,7 @@ RECV_T NEW(recvfrom)(int s, void *buf, size_t len, int flags,
|
||||
if(!_zz_ready || !_zz_iswatched(s) || _zz_islocked(s) || !_zz_isactive(s))
|
||||
return ret;
|
||||
|
||||
if(ret > 0)
|
||||
if(ret > 0)
|
||||
{
|
||||
char *b = buf;
|
||||
|
||||
|
||||
+2
-2
@@ -452,7 +452,7 @@ int main(int argc, char *argv[])
|
||||
/* Clean up */
|
||||
_zz_opts_fini(opts);
|
||||
|
||||
return opts->crashes ? EXIT_FAILURE : EXIT_SUCCESS;
|
||||
return opts->crashes ? EXIT_FAILURE : EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
static void loop_stdin(struct opts *opts)
|
||||
@@ -1010,7 +1010,7 @@ static int run_process(struct opts *opts, int pipes[][2])
|
||||
epaddr = get_entry(opts->newargv[0]);
|
||||
if(!epaddr)
|
||||
return -1;
|
||||
|
||||
|
||||
memset(&sinfo, 0, sizeof(sinfo));
|
||||
sinfo.cb = sizeof(sinfo);
|
||||
DuplicateHandle(pid, (HANDLE)_get_osfhandle(pipes[0][1]), pid,
|
||||
|
||||
Reference in New Issue
Block a user