From ff08dfb5cad7dea485dfd7a4bd30770f5fc19c9f Mon Sep 17 00:00:00 2001 From: lefranc Date: Thu, 24 Sep 2009 13:16:19 +0000 Subject: [CLEO][plcd] now starting plcd at boot time git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5736 017c9cb6-072f-447c-8318-d5b54f68fe89 --- cleopatre/devkit/plcd/src/plcd.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cleopatre/devkit/plcd') diff --git a/cleopatre/devkit/plcd/src/plcd.c b/cleopatre/devkit/plcd/src/plcd.c index e736c01fa1..39c4a3e8ce 100644 --- a/cleopatre/devkit/plcd/src/plcd.c +++ b/cleopatre/devkit/plcd/src/plcd.c @@ -143,7 +143,11 @@ void plcd_uninit(plcd_ctx_t *ctx) /* initialize the AV stack and loopback until successful init */ //while(0 > hpav_init (&ctx)); - hpav_init (&ctx); + if(hpav_init (&ctx) < 0) + { + syslog (LOG_WARNING, "plcd: plc init failed\n"); + return 1; + } //plcd_uninit(&ctx); -- cgit v1.2.3