Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
*/
-#include "includes.h"
+#include "replace.h"
+#include "system/locale.h"
#include "cbuf.h"
+#include <talloc.h>
+#include <assert.h>
+#include "lib/util/byteorder.h"
struct cbuf {
if (isprint(*s) && ((*s == ' ') || !isspace(*s))) {
ret = cbuf_putc(ost, *s);
} else {
- ret = cbuf_printf(ost, "\\%02x", (uchar)*s);
+ ret = cbuf_printf(ost,
+ "\\%02x",
+ (unsigned char)*s);
}
}
s++;