chiark / gitweb /
basic/journal-importer: do not write non-unicode char to log
[elogind.git] / src / basic / escape.c
index 87d3be8baa6318163870e8504e3cd57b7f04904f..dc302364e4c4471d5b40709b862a3281f646eb81 100644 (file)
@@ -15,8 +15,8 @@
 #include "macro.h"
 #include "utf8.h"
 
-size_t cescape_char(char c, char *buf) {
-        char * buf_old = buf;
+int cescape_char(char c, char *buf) {
+        char *buf_old = buf;
 
         switch (c) {