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:
26bbd6e
)
missing parentheses
author
Aleš Křenek
<ljocha@ics.muni.cz>
Thu, 13 Oct 2005 19:28:40 +0000
(19:28 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Thu, 13 Oct 2005 19:28:40 +0000
(19:28 +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
c635563
..
044b610
100644
(file)
--- a/
org.glite.jp.primary/src/attrs.c
+++ b/
org.glite.jp.primary/src/attrs.c
@@
-116,7
+116,7
@@
glite_jpps_get_attrs(glite_jp_context_t ctx,const char *job,char **attr,int natt
if (nnames < 0) continue; /* XXX: error ignored */
if (nnames > 0) {
- files = realloc(files,
nfiles+nnames+1
* sizeof *files);
+ files = realloc(files,
(nfiles+nnames+1)
* sizeof *files);
for (j=0; j<nnames; j++) {
files[nfiles].class_idx = i;
files[nfiles++].name = names[j];