1
0
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:
Volker Lendecke 2020-10-13 11:38:49 +02:00 committed by Jeremy Allison
parent 7223f6453b
commit ac20617c87

View File

@ -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) * Don't pass NULL buffer to snprintf (to satisfy static checker)
* Some callers will call this function with NULL for buf and * 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) * needing to allocate or write to buf)
*/ */
if (buf == NULL) { if (buf == NULL) {