filter.c: Make config struct and filter_event_handler() static
[paraslash.git] / dccp_send.c
index 3592a28..273961f 100644 (file)
@@ -76,7 +76,7 @@ static void dccp_post_select(fd_set *rfds, __a_unused fd_set *wfds)
        }
        PARA_NOTICE_LOG("connection from %s\n", inet_ntoa(dc->addr.sin_addr));
        dc->fd = ret;
-       list_add(&dc->node, &clients);
+       para_list_add(&dc->node, &clients);
        add_close_on_fork_list(dc->fd);
        mark_fd_nonblock(dc->fd);
 }
@@ -132,7 +132,7 @@ again:
        if (ret < 0) {
                if (errno != EAGAIN || !retries++ > DCCP_RETRIES)
                        goto err_out;
-               PARA_DEBUG_LOG("EAGAIN #%d@%d/%d\n", retries, written, len);
+               PARA_DEBUG_LOG("EAGAIN #%d@%zd/%zd\n", retries, written, len);
                goto again;
        }
        retries = 0;