Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
f95409b5
Commit
f95409b5
authored
Nov 19, 2013
by
Thomas Jahns
🤸
Browse files
Write empty record on collectors not participating in file write.
* This ensures synchronization.
parent
8618024f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pio_server.c
View file @
f95409b5
...
...
@@ -638,7 +638,11 @@ static void readGetBuffers()
{
int
headerIdx
,
lastHeaderIdx
=
map
.
entries
[
streamIdx
].
lastHeaderIdx
;
if
(
lastHeaderIdx
<
0
)
break
;
{
cdiPioFileWrite
(
streamInqFileID
(
streamID
),
NULL
,
0
,
streamInqCurTimestepID
(
streamID
));
break
;
}
for
(
headerIdx
=
map
.
entries
[
streamIdx
].
firstHeaderIdx
;
headerIdx
<=
lastHeaderIdx
;
headerIdx
+=
2
)
...
...
Write
Preview
Supports
Markdown
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