summaryrefslogtreecommitdiff
path: root/src/libunixonacid/unixmessage_sender_timed_flush.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-05 03:57:06 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-05 03:57:06 +0000
commit79ba7ac3971ebbbcd10f43c6b8b71d800589a6b0 (patch)
treed5e1ce3a1a799ef458febcae85deea150136ed4e /src/libunixonacid/unixmessage_sender_timed_flush.c
parent82724c82fd69720a579a8b245637ac247c08c700 (diff)
downloadskalibs-79ba7ac3971ebbbcd10f43c6b8b71d800589a6b0.tar.xz
More adjustments to unixmessage and skaclient
Diffstat (limited to 'src/libunixonacid/unixmessage_sender_timed_flush.c')
-rw-r--r--src/libunixonacid/unixmessage_sender_timed_flush.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libunixonacid/unixmessage_sender_timed_flush.c b/src/libunixonacid/unixmessage_sender_timed_flush.c
index 74e4937..e144c82 100644
--- a/src/libunixonacid/unixmessage_sender_timed_flush.c
+++ b/src/libunixonacid/unixmessage_sender_timed_flush.c
@@ -1,14 +1,13 @@
/* ISC license. */
#include <skalibs/functypes.h>
-#include <skalibs/genalloc.h>
#include <skalibs/tai.h>
#include <skalibs/unix-timed.h>
#include <skalibs/unixmessage.h>
static int unixmessage_sender_isnonempty (unixmessage_sender_t *b)
{
- return !!genalloc_len(unsigned int, &b->offsets) ;
+ return !unixmessage_sender_isempty(b) ;
}
int unixmessage_sender_timed_flush (unixmessage_sender_t *b, tain_t const *deadline, tain_t *stamp)