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:
988a084
)
close tag file also on non-existent tag
author
Jiří Filipovič
<fila@ics.muni.cz>
Mon, 2 Apr 2007 17:29:38 +0000
(17:29 +0000)
committer
Jiří Filipovič
<fila@ics.muni.cz>
Mon, 2 Apr 2007 17:29:38 +0000
(17:29 +0000)
org.glite.jp.primary/src/new_ftp_backend.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.jp.primary/src/new_ftp_backend.c
b/org.glite.jp.primary/src/new_ftp_backend.c
index
ce384d8
..
88b26d4
100644
(file)
--- a/
org.glite.jp.primary/src/new_ftp_backend.c
+++ b/
org.glite.jp.primary/src/new_ftp_backend.c
@@
-2395,9
+2395,14
@@
int glite_jppsbe_read_tag(
}
if (tag_attr(ctx,h,attr,attrval)){
+ glite_jp_error_t *e;
err.code = EIO;
err.desc = "cannot read tag";
- return glite_jp_stack_error(ctx,&err);
+ glite_jp_stack_error(ctx,&err);
+ e = ctx->error;
+ glite_jppsbe_close_file(ctx,h->bhandle);
+ ctx->error = e;
+ return err.code;
}
if (glite_jppsbe_close_file(ctx,h->bhandle))