Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
1fd0d1a3
Commit
1fd0d1a3
authored
Jan 16, 2017
by
Thomas Jahns
🤸
Browse files
Use idiomatic pointer dereferencing syntax.
parent
a9ec47ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf_i.c
View file @
1fd0d1a3
...
...
@@ -252,8 +252,8 @@ int setBaseTime(const char *timeunits, taxis_t *taxis)
{
scanTimeString
(
tu
+
pos
,
&
rdate
,
&
rtime
);
(
*
taxis
).
rdate
=
rdate
;
(
*
taxis
).
rtime
=
rtime
;
taxis
->
rdate
=
rdate
;
taxis
->
rtime
=
rtime
;
if
(
CDI_Debug
)
Message
(
"rdate = %d rtime = %d"
,
rdate
,
rtime
);
...
...
@@ -261,8 +261,8 @@ int setBaseTime(const char *timeunits, taxis_t *taxis)
}
}
(
*
taxis
).
type
=
timetype
;
(
*
taxis
).
unit
=
timeunit
;
taxis
->
type
=
timetype
;
taxis
->
unit
=
timeunit
;
Free
(
tu
);
...
...
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