mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
smbd: Fix a typo
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
7223f6453b
commit
ac20617c87
@ -876,7 +876,7 @@ size_t fsp_fullbasepath(struct files_struct *fsp, char *buf, size_t buflen)
|
||||
/*
|
||||
* Don't pass NULL buffer to snprintf (to satisfy static checker)
|
||||
* Some callers will call this function with NULL for buf and
|
||||
* 0 for buflen in order to get length of fullbasepatch (without
|
||||
* 0 for buflen in order to get length of fullbasepath (without
|
||||
* needing to allocate or write to buf)
|
||||
*/
|
||||
if (buf == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user