Commit 01591b97 authored by Deon George's avatar Deon George

Minor cosmetics changes

parent 5704d3a2
......@@ -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);
......
......@@ -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));
......
#define _TSMPIPE_VERSION "1.6.1"
#define _TSMPIPE_VERSION "1.6.2"
#define ACTION_INFO 1
#define ACTION_CREATE 2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment