aboutsummaryrefslogtreecommitdiffstats
path: root/libterminput_marshal_text__.c
diff options
context:
space:
mode:
Diffstat (limited to 'libterminput_marshal_text__.c')
-rw-r--r--libterminput_marshal_text__.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libterminput_marshal_text__.c b/libterminput_marshal_text__.c
index fa9b542..264ec04 100644
--- a/libterminput_marshal_text__.c
+++ b/libterminput_marshal_text__.c
@@ -3,10 +3,10 @@
int
-libterminput_marshal_text__(struct libterminput_marshaller *how, const struct libterminput_text *what)
+libterminput_marshal_text__(struct libterminput_marshaller *how, const struct libterminput_text *what) /* TODO test */
{
if (how->store(how, &what->nbytes, sizeof(what->nbytes)) ||
- how->store(how, what->bytes, sizeof(what->nbytes)))
+ how->store(how, what->bytes, what->nbytes))
return -1;
return 0;
}