cosmetics
authorChristian Thaeter <ct@pipapo.org>
Mon, 22 Oct 2007 18:58:03 +0000 (20:58 +0200)
committerChristian Thaeter <ct@pipapo.org>
Mon, 22 Oct 2007 18:58:03 +0000 (20:58 +0200)
src/rxpd_file.c
src/rxpd_socket.c

index 09f0dc9..1b04086 100644 (file)
@@ -134,6 +134,7 @@ rxpd_file_load (struct rxpd_file* self)
     }
 }
 
+
 int
 rxpd_file_save (struct rxpd_file* self)
 {
@@ -181,7 +182,7 @@ rxpd_file_dump (struct rxpd_file* self, struct rxpd_buffer* out)
             {
               struct rxpd_rule* rule = (struct rxpd_rule*)n;
               if (rule->atime != (time_t)-1)
-            rxpd_buffer_printf (out, "%ld:%s\n", rule->atime, rule->string);
+                rxpd_buffer_printf (out, "%ld:%s\n", rule->atime, rule->string);
               else if (*rule->string != '#')
                 rxpd_buffer_printf (out, ":%s\n", rule->string);
               else
index 0aadb14..a1885bb 100644 (file)
@@ -140,7 +140,6 @@ rxpd_socket_accept (void* ptr)
 
   pth_event_t ev = pth_event (PTH_EVENT_FD|PTH_UNTIL_FD_READABLE, self->fd);
 
-  // TODO cancel thread to leave the loop?
   while (pth_wait (ev))
     {
       int fd = pth_accept (self->fd, NULL, 0);