aboutsummaryrefslogtreecommitdiff
path: root/daemon.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-09-02 01:31:17 -0400
committerRob Austein <sra@hactrn.net>2016-09-02 01:31:17 -0400
commit5af178dee33b22cf189c085e41ca96423f809034 (patch)
tree6748c02763287ad1711f0e369256c063b649549f /daemon.c
parent65e8ef470b34a9c7af92f377da297095a0251890 (diff)
Code to convert between text and internal forms of UUIDs.
Includes a few cosmetic fixes to address gcc format string warnings and git trailing whitespace warnings.
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon.c b/daemon.c
index b30d730..ff95353 100644
--- a/daemon.c
+++ b/daemon.c
@@ -74,7 +74,7 @@ static void poll_add(int fd)
{
/* add 4 entries at a time to avoid having to realloc too often */
#define NNEW 4
-
+
/* expand the array if necessary */
if (nfds == npollfds) {
npollfds = nfds + NNEW;
@@ -247,7 +247,7 @@ int main(int argc, char *argv[])
perror("poll");
exit(EXIT_FAILURE);
}
-
+
for (nfds_t i = 0; i < nfds; ++i) {
if (pollfds[i].revents != 0) {
/* XXX POLLERR|POLLHUP|POLLNVAL */