From e1eec1984c55cf78f479d7841a20c45ce03e6545 Mon Sep 17 00:00:00 2001 From: Sven Robertz <sven@cs.lth.se> Date: Mon, 20 May 2013 11:07:23 +0200 Subject: [PATCH] added param values to encoder_new --- examples/wiki_example/example_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/wiki_example/example_encoder.c b/examples/wiki_example/example_encoder.c index 2170239..b685a96 100644 --- a/examples/wiki_example/example_encoder.c +++ b/examples/wiki_example/example_encoder.c @@ -11,7 +11,7 @@ int main(int argc, char *argv[]) { int i, j; fd = open("example.encoded", O_WRONLY|O_CREAT|O_TRUNC, 0644); - encoder = labcomm_encoder_new(labcomm_fd_writer, &fd); + encoder = labcomm_encoder_new(labcomm_fd_writer, &fd, NULL, NULL); labcomm_encoder_register_example_log_message(encoder); labcomm_encoder_register_example_data(encoder); for (i = 0 ; i < argc ; i++) { -- GitLab