git.samba.org
/
kai
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not vasprint stuff where not necessary
[kai/samba-autobuild/.git]
/
source3
/
rpc_server
/
srv_lsa_hnd.c
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;
}
*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) {
pol = create_policy_hnd_internal(p, hnd, data);
if (pol == NULL) {