]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib: Fix a typo
authorVolker Lendecke <vl@samba.org>
Fri, 17 May 2024 14:07:44 +0000 (16:07 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 May 2024 04:23:29 +0000 (04:23 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/lib/util_str.c

index 3ac1e554246f5d044ad6cdeec204280344130016..1591420587e33540b98818644f79dbb736475f1c 100644 (file)
@@ -124,7 +124,7 @@ bool trim_char(char *s,char cfront,char cback)
                while ((ep >= fp) && (*ep == cback)) {
                        ret = true;
                        if ((ep > fp) && (((unsigned char)ep[-1]) & 0x80)) {
-                               /* Could be mb... bail back to tim_string. */
+                               /* Could be mb... bail back to trim_string. */
                                char fs[2], bs[2];
                                if (cfront) {
                                        fs[0] = cfront;