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:
ecaf969
)
Make sure the attribute is not NULL.
author
František Dvořák
<valtri@civ.zcu.cz>
Tue, 20 Feb 2007 10:33:18 +0000
(10:33 +0000)
committer
František Dvořák
<valtri@civ.zcu.cz>
Tue, 20 Feb 2007 10:33:18 +0000
(10:33 +0000)
org.glite.jp.primary/src/attrs.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.jp.primary/src/attrs.c
b/org.glite.jp.primary/src/attrs.c
index
7099dd1
..
4eef226
100644
(file)
--- a/
org.glite.jp.primary/src/attrs.c
+++ b/
org.glite.jp.primary/src/attrs.c
@@
-147,7
+147,7
@@
glite_jpps_get_attrs(glite_jp_context_t ctx,const char *job,char **attr,int natt
for (j=0; j<nother; j++) {
glite_jp_attrval_t *myattr;
/* XXX: ignore errors */
- if (!p->ops.attr(p->fpctx,ph,other[j],&myattr)) {
+ if (!p->ops.attr(p->fpctx,ph,other[j],&myattr)
&& myattr
) {
int k;
for (k=0; myattr[k].name; k++) {
myattr[k].origin = GLITE_JP_ATTR_ORIG_FILE;