mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-03-11 03:28:31 +01:00
fix download bug StartTime and CompleteTime in the DownloadResponse RPC (Not compatible with standard)
This commit is contained in:
parent
c3e099d152
commit
12ac0eaf71
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue