From b190cec55d1ebcead2c43dc9ef87036a445aeaad Mon Sep 17 00:00:00 2001 From: zribiahmed Date: Fri, 22 Feb 2013 10:12:04 +0000 Subject: [PATCH] change log message in download --- src/xml.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/xml.c b/src/xml.c index 94d64bf..3a0e9f3 100644 --- a/src/xml.c +++ b/src/xml.c @@ -2166,7 +2166,14 @@ int cwmp_handle_rpc_cpe_download(struct session *session, struct rpc *rpc) } bkp_session_insert_download(download); bkp_session_save(); - CWMP_LOG(INFO,"Download will start in %us",download_delay); + if(download_delay != 0) + { + CWMP_LOG(INFO,"Download will start in %us",download_delay); + } + else + { + CWMP_LOG(INFO,"Download will start at the end of session"); + } pthread_mutex_unlock (&mutex_download); if (cond_signal)