diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-07 19:57:40 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-07 19:57:40 +0000 |
commit | 3d60cd1d61f0d5c6a32d681ff49dad370272f4f6 (patch) | |
tree | a1c90d2ade50495eff62801d1c439dfd3cdb2876 /src/common/util.c | |
parent | 75c19716a80a96a7550dd723aca73c245987b87f (diff) | |
download | tor-3d60cd1d61f0d5c6a32d681ff49dad370272f4f6.tar tor-3d60cd1d61f0d5c6a32d681ff49dad370272f4f6.tar.gz |
Delete trailing whitespace and expand tabs; remove unused aes decrypt code
svn:r1522
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c index f91d2ce06..bbe3933b4 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -747,7 +747,7 @@ int read_all(int fd, char *buf, size_t count, int isSocket) { int result; while(numread != count) { - if (isSocket) + if (isSocket) result = recv(fd, buf+numread, count-numread, 0); else result = read(fd, buf+numread, count-numread); @@ -1212,7 +1212,7 @@ void start_daemon(char *desired_cwd) pid = setsid(); /* Detach from controlling terminal */ /* - * Fork one more time, so the parent (the session group leader) can exit. + * Fork one more time, so the parent (the session group leader) can exit. * This means that we, as a non-session group leader, can never regain a * controlling terminal. This part is recommended by Stevens's * _Advanced Programming in the Unix Environment_. |