git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8f32e0
)
convert tag values properly
author
Aleš Křenek
<ljocha@ics.muni.cz>
Fri, 12 Aug 2005 14:33:49 +0000
(14:33 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Fri, 12 Aug 2005 14:33:49 +0000
(14:33 +0000)
org.glite.jp.primary/src/soap_ops.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.jp.primary/src/soap_ops.c
b/org.glite.jp.primary/src/soap_ops.c
index
8095810
..
33971f0
100644
(file)
--- a/
org.glite.jp.primary/src/soap_ops.c
+++ b/
org.glite.jp.primary/src/soap_ops.c
@@
-180,7
+180,15
@@
SOAP_FMAC5 int SOAP_FMAC6 __jpsrv__RecordTag(
file_be = file_p = NULL;
attr[0].name = in->tag->name;
- attr[0].value = in->tag->value;
+ if (in->tag->value->string) {
+ attr[0].value = in->tag->value->string;
+ attr[0].binary = 0;
+ }
+ else {
+ attr[0].value = in->tag->value->blob->__ptr;
+ attr[0].size = in->tag->value->blob->__size;
+ attr[0].binary = 1;
+ }
attr[0].origin = GLITE_JP_ATTR_ORIG_USER;
attr[0].timestamp = time(NULL);
attr[0].origin_detail = NULL; /* XXX */