Minor cosmetics changes
This commit is contained in:
parent
5704d3a2f7
commit
01591b9750
@ -81,10 +81,10 @@ char *dsmDateToStr(dsmDate date) {
|
|||||||
|
|
||||||
memset(s,0x00,sizeof(s));
|
memset(s,0x00,sizeof(s));
|
||||||
|
|
||||||
sprintf(s,"%02i/%02i/%04i %02i:%02i:%02i",
|
sprintf(s,"%04i-%02i-%02i %02i:%02i:%02i",
|
||||||
(dsInt16_t)date.day,
|
|
||||||
(dsInt16_t)date.month,
|
|
||||||
date.year,
|
date.year,
|
||||||
|
(dsInt16_t)date.month,
|
||||||
|
(dsInt16_t)date.day,
|
||||||
(dsInt16_t)date.hour,
|
(dsInt16_t)date.hour,
|
||||||
(dsInt16_t)date.minute,
|
(dsInt16_t)date.minute,
|
||||||
(dsInt16_t)date.second);
|
(dsInt16_t)date.second);
|
||||||
|
@ -197,9 +197,9 @@ int tsm_sessioninfo(dsUint32_t dsmHandle) {
|
|||||||
|
|
||||||
printf(" TCPServerAddress: %s\n",dsmOpt.serverAddress);
|
printf(" TCPServerAddress: %s\n",dsmOpt.serverAddress);
|
||||||
printf(" NODEName: %s\n",dsmOpt.nodeName);
|
printf(" NODEName: %s\n",dsmOpt.nodeName);
|
||||||
printf(" COMPRESSIon: %d\n",dsmOpt.compression);
|
printf(" COMPRESSIon: %s\n",dsmOpt.compression ? "YES" : "NO");
|
||||||
printf(" COMPRESSAlways: %d\n",dsmOpt.compressalways);
|
printf(" COMPRESSAlways: %s\n",dsmOpt.compressalways ? "YES" : "NO");
|
||||||
printf(" PASSWORDAccess: %d\n",dsmOpt.passwordAccess);
|
printf(" PASSWORDAccess: %s\n",dsmOpt.passwordAccess ? "GENERATE" : "PROMPT");
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(&dsmSessInfo,0x00,sizeof(ApiSessInfo));
|
memset(&dsmSessInfo,0x00,sizeof(ApiSessInfo));
|
||||||
|
Reference in New Issue
Block a user