aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schink <swo-dev@marcschink.de>2015-08-19 13:30:37 +0200
committerMarc Schink <swo-dev@marcschink.de>2015-08-19 13:30:37 +0200
commit25d364520627b4217008ad75cbb1a1def3704233 (patch)
tree12ae6b0a4d2829d816ddb98ee3abc104531bad7e
parent06576f559097d448bb17b7552cf3d994ebcb9fa0 (diff)
Update for libswo decoder callback API change.
The return value of the decoder callback function now determines whether the decoding should proceed or not.
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 2e0ddd0..f085fe6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -376,7 +376,7 @@ static int packet_cb(struct libswo_context *ctx,
break;
}
- return 0;
+ return TRUE;
}
static void show_version(void)