git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31120c9
)
Do not vasprint stuff where not necessary
author
Volker Lendecke
<vl@samba.org>
Mon, 20 Apr 2009 14:50:14 +0000
(16:50 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 20 Apr 2009 14:51:44 +0000
(16:51 +0200)
source3/rpc_server/srv_lsa_hnd.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_lsa_hnd.c
b/source3/rpc_server/srv_lsa_hnd.c
index 21b297af2dabf462905cbd790eb073851321b876..d8c48058be9197f589f1f176dd1aee2b981d7f60 100644
(file)
--- a/
source3/rpc_server/srv_lsa_hnd.c
+++ b/
source3/rpc_server/srv_lsa_hnd.c
@@
-337,7
+337,7
@@
void *_policy_handle_create(struct pipes_struct *p, struct policy_handle *hnd,
*pstatus = NT_STATUS_NO_MEMORY;
return NULL;
}
- talloc_set_name
(data, "%s"
, type);
+ talloc_set_name
_const(data
, type);
pol = create_policy_hnd_internal(p, hnd, data);
if (pol == NULL) {