[PATCH] replace: fix typo in variable name
Volker Lendecke
Volker.Lendecke at SerNet.DE
Thu Nov 28 08:18:49 MST 2013
On Thu, Nov 28, 2013 at 03:59:22PM +0100, David Disseldorp wrote:
> 13550a2b5eed57084a5d9671d9493a9a2e08d7e3 added a typo causing
> compilation failure.
Sorry, +1 for sure.
Thanks!
Volker
>
> Signed-off-by: David Disseldorp <ddiss at samba.org>
> ---
> lib/replace/replace.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/replace/replace.c b/lib/replace/replace.c
> index effe5de..2a9ca3e 100644
> --- a/lib/replace/replace.c
> +++ b/lib/replace/replace.c
> @@ -84,7 +84,7 @@ size_t rep_strlcpy(char *d, const char *s, size_t bufsize)
> be one more than the maximum resulting string length */
> size_t rep_strlcat(char *d, const char *s, size_t bufsize)
> {
> - size_t len1 = strnlen(d, bufsiz);
> + size_t len1 = strnlen(d, bufsize);
> size_t len2 = strlen(s);
> size_t ret = len1 + len2;
>
> --
> 1.8.1.4
>
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
More information about the samba-technical
mailing list