struct chunk_queue *cq;
};
-static void dccp_pre_select( int *max_fileno, fd_set *rfds,
+static void dccp_pre_select(int *max_fileno, fd_set *rfds,
__a_unused fd_set *wfds)
{
if (listen_fd < 0)
*/
if (ret < 0 && errno == EAGAIN)
return written;
- if (ret < 0) {
- PARA_ERROR_LOG("%s\n", strerror(errno));
- return -E_DCCP_WRITE;
- }
+ if (ret < 0)
+ return -ERRNO_TO_PARA_ERROR(errno);
written += ret;
}
return written;