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:
e6ae01c
)
real ctx retured now
author
Marcel Poul
<marcel.poul@cern.ch>
Tue, 1 Nov 2011 08:28:15 +0000
(08:28 +0000)
committer
Marcel Poul
<marcel.poul@cern.ch>
Tue, 1 Nov 2011 08:28:15 +0000
(08:28 +0000)
emi.canl.canl-c/src/canl.c
patch
|
blob
|
blame
|
history
diff --git
a/emi.canl.canl-c/src/canl.c
b/emi.canl.canl-c/src/canl.c
index
f3681ee
..
42b0d0a
100644
(file)
--- a/
emi.canl.canl-c/src/canl.c
+++ b/
emi.canl.canl-c/src/canl.c
@@
-27,8
+27,10
@@
canl_ctx canl_create_ctx()
new_ctx->io_ctx = NULL;
new_ctx->err_msg = NULL;
end:
- return new_ctx;
-
+ if (err)
+ return NULL;
+ else
+ return new_ctx;
}
void canl_free_ctx(canl_ctx cc)