Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Deon George
tsmpipe
Commits
01591b97
Commit
01591b97
authored
Oct 02, 2014
by
Deon George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cosmetics changes
parent
5704d3a2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
lib/dsmobjects.c
lib/dsmobjects.c
+3
-3
lib/dsmsession.c
lib/dsmsession.c
+3
-3
tsmpipe.h
tsmpipe.h
+1
-1
No files found.
lib/dsmobjects.c
View file @
01591b97
...
...
@@ -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
);
...
...
lib/dsmsession.c
View file @
01591b97
...
...
@@ -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
));
...
...
tsmpipe.h
View file @
01591b97
#define _TSMPIPE_VERSION "1.6.
1
"
#define _TSMPIPE_VERSION "1.6.
2
"
#define ACTION_INFO 1
#define ACTION_CREATE 2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment