1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

libsmb: Use fstr_sprint in convert_sid_to_string

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>

Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Jun 26 22:35:02 CEST 2015 on sn-devel-104
This commit is contained in:
Volker Lendecke
2015-06-26 13:29:27 +02:00
committed by Michael Adam
parent 994d08e420
commit c5be94c5da

View File

@ -203,9 +203,8 @@ convert_sid_to_string(struct cli_state *ipc_cli,
/* Converted OK */
slprintf(str, sizeof(fstring) - 1, "%s%s%s",
domains[0], lp_winbind_separator(),
names[0]);
fstr_sprintf(str, "%s%s%s",
domains[0], lp_winbind_separator(), names[0]);
TALLOC_FREE(ctx);
}