X-Git-Url: http://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=session.c;fp=session.c;h=5f5ca8f01f7030cef93874d04047f0ee9692f75b;hp=0e426cdd1957268102797f37f0c95a5d981de7fb;hb=382d3599a564bed5b5d303adb304d1cd466d2459;hpb=4db16cc5bcc9fddf1c478da91541d5b61703aee0 diff --git a/session.c b/session.c index 0e426cd..5f5ca8f 100644 --- a/session.c +++ b/session.c @@ -485,6 +485,10 @@ void datafeed_in(const struct sr_dev_inst *sdi, if (packet->type == SR_DF_END) { g_debug("cli: Received SR_DF_END."); +#if defined HAVE_SRD_SESSION_SEND_EOF && HAVE_SRD_SESSION_SEND_EOF + (void)srd_session_send_eof(srd_sess); +#endif + if (do_props) { props_dump_details(df_arg); props_cleanup(df_arg);