projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce2bb6c
)
client_common.c: invalidate the private client data pointer on errors.
author
Andre Noll
<maan@systemlinux.org>
Mon, 5 Feb 2007 20:22:22 +0000
(21:22 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Mon, 5 Feb 2007 20:22:22 +0000
(21:22 +0100)
Not really neccessary, but clean.
client_common.c
patch
|
blob
|
history
diff --git
a/client_common.c
b/client_common.c
index 48b46da44e73768335724790a2cb973459dd66de..bf8a1a40aa1556001d9d52f0c33993f37db9a143 100644
(file)
--- a/
client_common.c
+++ b/
client_common.c
@@
-179,6
+179,7
@@
out:
if (ret < 0) {
PARA_ERROR_LOG("%s\n", PARA_STRERROR(-ret));
client_close(pcd);
+ *pcd_ptr = NULL;
}
return ret;
}