[master] f71c2aacc Also sync vsb.h comment with reality

Nils Goroll nils.goroll at uplex.de
Fri Sep 1 09:40:06 UTC 2023


commit f71c2aaccec2085013eeb83b7e9fae49f11cb52d
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Fri Sep 1 11:38:25 2023 +0200

    Also sync vsb.h comment with reality

diff --git a/include/vsb.h b/include/vsb.h
index 537254f4f..37fc1c027 100644
--- a/include/vsb.h
+++ b/include/vsb.h
@@ -89,9 +89,9 @@ void		 VSB_destroy(struct vsb **);
 	 */
 #define VSB_QUOTE_JSON		2
 	/*
-	 * Output suitable for inclusion between "..." in JSON
-	 * Uses JSON \u%04x quoting.
-	 * Anything above 0x7e had better be UTF-8
+	 * JSON-like output suitable for inclusion between "..."
+	 * Quotes <0x20 as \u%04x
+	 * Keeps >0x7e unquoted
 	 */
 #define VSB_QUOTE_HEX		4
 	/*


More information about the varnish-commit mailing list