From 12ac0eaf71ddb3dab7d82c8fbd6117f941b26146 Mon Sep 17 00:00:00 2001 From: zribiahmed Date: Tue, 21 May 2013 17:31:45 +0000 Subject: [PATCH] fix download bug StartTime and CompleteTime in the DownloadResponse RPC (Not compatible with standard) --- src/xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xml.c b/src/xml.c index fdd2a34..d65f9bf 100644 --- a/src/xml.c +++ b/src/xml.c @@ -2130,14 +2130,14 @@ int cwmp_handle_rpc_cpe_download(struct session *session, struct rpc *rpc) b = mxmlNewElement(t, "StartTime"); if (!b) goto fault; - b = mxmlNewText(b, 0, "0000-00-00T00:00:00+00:00"); + b = mxmlNewText(b, 0, "0001-01-01T00:00:00+00:00"); if (!b) goto fault; b = b->parent->parent; b = mxmlNewElement(t, "CompleteTime"); if (!b) goto fault; - b = mxmlNewText(b, 0, "0000-00-00T00:00:00+00:00"); + b = mxmlNewText(b, 0, "0001-01-01T00:00:00+00:00"); if (!b) goto fault; if(error == FAULT_CPE_NO_FAULT)