summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--applications/jpip/libopenjpip/dec_clientmsg_handler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/jpip/libopenjpip/dec_clientmsg_handler.c b/applications/jpip/libopenjpip/dec_clientmsg_handler.c
index a45d8d13..20bd4f2b 100644
--- a/applications/jpip/libopenjpip/dec_clientmsg_handler.c
+++ b/applications/jpip/libopenjpip/dec_clientmsg_handler.c
@@ -60,6 +60,7 @@ void handle_JPIPstreamMSG( SOCKET connected_socket, cachelist_param_t *cachelist
metadatalist = gene_metadatalist();
parse_metamsg( msgqueue, *jpipstream, *streamlen, metadatalist);
+ assert( msgqueue->last );
assert( msgqueue->last->csn < INT_MAX );
/* cid registration*/
if( target != NULL){