Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
sinqdev
sicspsi
Commits
93beb5cf
Commit
93beb5cf
authored
Jan 14, 2020
by
koennecke
Browse files
Adapted astriumnet.c to an updated mxml version
parent
95db288f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
astriumnet.c
astriumnet.c
+7
-7
No files found.
astriumnet.c
View file @
93beb5cf
...
...
@@ -116,7 +116,7 @@ static int decodeXML(Ascon *a)
{
pDynString
xmlBuffer
;
mxml_node_t
*
root
,
*
param
;
mxml_attr_t
attr
;
const
char
*
attrName
,
*
attrValue
;
int
i
;
...
...
@@ -140,13 +140,13 @@ static int decodeXML(Ascon *a)
return
0
;
}
for
(
i
=
0
;
i
<
param
->
value
.
element
.
num_attrs
;
i
++
){
attr
=
param
->
value
.
element
.
attrs
[
i
]
;
DynStringConcat
(
a
->
rdBuffer
,
attr
.
n
ame
);
if
(
attr
.
v
alue
!=
NULL
){
for
(
i
=
0
;
i
<
mxmlElementGetAttrCount
(
param
)
;
i
++
){
attr
Value
=
mxmlElementGetAttrByIndex
(
param
,
i
,
&
attrName
)
;
DynStringConcat
(
a
->
rdBuffer
,
attr
N
ame
);
if
(
attr
V
alue
!=
NULL
){
DynStringConcat
(
a
->
rdBuffer
,
"="
);
kommaToPt
(
attr
.
v
alue
);
DynStringConcat
(
a
->
rdBuffer
,
attr
.
v
alue
);
kommaToPt
(
(
char
*
)
attr
V
alue
);
DynStringConcat
(
a
->
rdBuffer
,
attr
V
alue
);
}
DynStringConcat
(
a
->
rdBuffer
,
":"
);
}
...
...
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