From 59b8e6b3dbcd32b4143c5b44d4d243c832b8cf6e Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Fri, 3 May 2019 08:25:00 +0100 Subject: [PATCH] Remove the word Scrub (#961) The function is called Truncate, not Scrub (that was the old name). Updated the function's documentation to rename this. Signed-off-by: Miek Gieben --- msg_truncate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msg_truncate.go b/msg_truncate.go index 4763fc61..83780af6 100644 --- a/msg_truncate.go +++ b/msg_truncate.go @@ -4,7 +4,7 @@ package dns // size by removing records that exceed the requested size. // // It will first check if the reply fits without compression and then with -// compression. If it won't fit with compression, Scrub then walks the +// compression. If it won't fit with compression, Truncate then walks the // record adding as many records as possible without exceeding the // requested buffer size. //