Skip to content
GitLab
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
0b031f17
Commit
0b031f17
authored
Jun 13, 2013
by
Thomas Jahns
🤸
Browse files
Add missing namespace conversions.
parent
cd73d1e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pio_server.c
View file @
0b031f17
...
...
@@ -21,6 +21,7 @@
#include
<yaxt.h>
#include
"cdi.h"
#include
"namespace.h"
#include
"pio.h"
#include
"pio_comm.h"
#include
"pio_interface.h"
...
...
@@ -177,7 +178,8 @@ readFuncCall(struct funcCallDesc *header)
{
case
STREAMCLOSE
:
{
int
streamID
=
header
->
funcArgs
.
streamChange
.
streamID
;
int
streamID
=
namespaceAdaptKey2
(
header
->
funcArgs
.
streamChange
.
streamID
);
streamClose
(
streamID
);
xdebug
(
"READ FUNCTION CALL FROM WIN: %s, streamID=%d,"
" closed stream"
,
...
...
@@ -203,8 +205,9 @@ readFuncCall(struct funcCallDesc *header)
break
;
case
STREAMDEFVLIST
:
{
int
streamID
=
header
->
funcArgs
.
streamChange
.
streamID
;
int
vlistID
=
header
->
funcArgs
.
streamChange
.
vlistID
;
int
streamID
=
namespaceAdaptKey2
(
header
->
funcArgs
.
streamChange
.
streamID
);
int
vlistID
=
namespaceAdaptKey2
(
header
->
funcArgs
.
streamChange
.
vlistID
);
streamDefVlist
(
streamID
,
vlistID
);
xdebug
(
"READ FUNCTION CALL FROM WIN: %s, streamID=%d,"
" vlistID=%d, called streamDefVlist ()."
,
...
...
@@ -283,7 +286,7 @@ gatherArray(int root, int nProcsModel, int headerIdx,
=
&
((
union
winHeaderEntry
*
)
rxWin
[
modelID
].
buffer
)[
headerIdx
+
1
].
partDesc
;
int
position
=
partHeader
->
offset
;
xassert
(
dataHeader
->
streamID
==
streamID
xassert
(
namespaceAdaptKey2
(
dataHeader
->
streamID
)
==
streamID
&&
dataHeader
->
varID
==
varID
&&
partHeader
->
partDescMarker
==
PARTDESCMARKER
&&
position
>
0
...
...
@@ -488,7 +491,9 @@ void readGetBuffers ( int tsID, int vdate, int vtime )
int
filetype
=
CDI_UNDEFID
;
for
(
int
headerIdx
=
1
;
headerIdx
<
numDataEntries
;
headerIdx
+=
2
)
{
int
streamID
=
winDict
[
headerIdx
].
dataRecord
.
streamID
;
int
streamID
=
winDict
[
headerIdx
].
dataRecord
.
streamID
=
namespaceAdaptKey2
(
winDict
[
headerIdx
].
dataRecord
.
streamID
);
xassert
(
streamID
>
0
);
if
(
streamID
!=
streamIDOld
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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