summaryrefslogtreecommitdiff
path: root/src/libunixonacid/textmessage_receiver_0.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-12-22 14:46:04 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-12-22 14:46:04 +0000
commit3c1ff1523587881324fc540fece06412c29c66de (patch)
treeecd5431551ebe81793a33297b86f26d90e12047a /src/libunixonacid/textmessage_receiver_0.c
parentf3c9c3c70187967a670f1c059f5461dce745d92e (diff)
downloadskalibs-3c1ff1523587881324fc540fece06412c29c66de.tar.xz
Add textclient, fix some textmessage issues
Diffstat (limited to 'src/libunixonacid/textmessage_receiver_0.c')
-rw-r--r--src/libunixonacid/textmessage_receiver_0.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libunixonacid/textmessage_receiver_0.c b/src/libunixonacid/textmessage_receiver_0.c
index f21b396..ab883de 100644
--- a/src/libunixonacid/textmessage_receiver_0.c
+++ b/src/libunixonacid/textmessage_receiver_0.c
@@ -2,9 +2,8 @@
/* MT-unsafe */
-#include <stdint.h>
#include <skalibs/buffer.h>
#include <skalibs/textmessage.h>
static char buf[BUFFER_INSIZE] ;
-textmessage_receiver_t textmessage_receiver_0_ = TEXTMESSAGE_RECEIVER_INIT(0, buf, BUFFER_INSIZE, UINT32_MAX) ;
+textmessage_receiver_t textmessage_receiver_0_ = TEXTMESSAGE_RECEIVER_INIT(0, buf, BUFFER_INSIZE, TEXTMESSAGE_MAXLEN) ;