librpc:ndr: Fix error message
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 13 Nov 2023 04:04:34 +0000 (17:04 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 16 Nov 2023 05:18:36 +0000 (05:18 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
librpc/ndr/ndr_string.c

index 9b100966f98c4f9a0496a9f5c6c6ecff571b7679..e527cd4d3d65075947d0f2d19dd0ae4cabf4c5ea 100644 (file)
@@ -234,7 +234,7 @@ _PUBLIC_ enum ndr_err_code ndr_pull_string(struct ndr_pull *ndr, ndr_flags_type
                        }
                }
                if (converted_size > 0 && as[converted_size-1] != '\0') {
-                       DEBUG(6,("long string '%s', send without NULL termination (which was expected)\n", as));
+                       DEBUG(6,("long string '%s', sent without NULL termination (which was expected)\n", as));
                }
        }