git.samba.org
/
jelmer
/
samba4-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af6d77
)
r24908: we should not set s = NULL as we set it to talloc_strdup("") before
author
Stefan Metzmacher
<metze@samba.org>
Sun, 2 Sep 2007 19:56:03 +0000
(19:56 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 20:03:36 +0000
(15:03 -0500)
metze
source/librpc/rpc/dcerpc_util.c
patch
|
blob
|
history
diff --git
a/source/librpc/rpc/dcerpc_util.c
b/source/librpc/rpc/dcerpc_util.c
index 11f5451891ec161b3cfbae204f21bdde6d7a6a69..440625715b4fc2a53abddc98c1add5ed5efacb3a 100644
(file)
--- a/
source/librpc/rpc/dcerpc_util.c
+++ b/
source/librpc/rpc/dcerpc_util.c
@@
-255,10
+255,9
@@
char *dcerpc_binding_string(TALLOC_CTX *mem_ctx, const struct dcerpc_binding *b)
if (t_name != NULL) {
s = talloc_asprintf_append(s, "%s:", t_name);
- if (s == NULL)
+ if (s == NULL)
{
return NULL;
- } else {
- s = NULL;
+ }
}
if (b->host) {