Minor cosmetics changes

This commit is contained in:
Deon George 2014-10-02 22:42:03 +10:00
parent 5704d3a2f7
commit 01591b9750
3 changed files with 7 additions and 7 deletions

View File

@ -81,10 +81,10 @@ char *dsmDateToStr(dsmDate date) {
memset(s,0x00,sizeof(s));
sprintf(s,"%02i/%02i/%04i %02i:%02i:%02i",
(dsInt16_t)date.day,
(dsInt16_t)date.month,
sprintf(s,"%04i-%02i-%02i %02i:%02i:%02i",
date.year,
(dsInt16_t)date.month,
(dsInt16_t)date.day,
(dsInt16_t)date.hour,
(dsInt16_t)date.minute,
(dsInt16_t)date.second);

View File

@ -197,9 +197,9 @@ int tsm_sessioninfo(dsUint32_t dsmHandle) {
printf(" TCPServerAddress: %s\n",dsmOpt.serverAddress);
printf(" NODEName: %s\n",dsmOpt.nodeName);
printf(" COMPRESSIon: %d\n",dsmOpt.compression);
printf(" COMPRESSAlways: %d\n",dsmOpt.compressalways);
printf(" PASSWORDAccess: %d\n",dsmOpt.passwordAccess);
printf(" COMPRESSIon: %s\n",dsmOpt.compression ? "YES" : "NO");
printf(" COMPRESSAlways: %s\n",dsmOpt.compressalways ? "YES" : "NO");
printf(" PASSWORDAccess: %s\n",dsmOpt.passwordAccess ? "GENERATE" : "PROMPT");
}
memset(&dsmSessInfo,0x00,sizeof(ApiSessInfo));

View File

@ -1,4 +1,4 @@
#define _TSMPIPE_VERSION "1.6.1"
#define _TSMPIPE_VERSION "1.6.2"
#define ACTION_INFO 1
#define ACTION_CREATE 2