common/util.c, server/admin.c: Ensure null-termination of result strings.
[tripe] / common / util.c
index 78358b3..3de554d 100644 (file)
@@ -70,6 +70,7 @@ void u_quotify(dstr *d, const char *p)
     }
     dstr_putc(d, '\"');
   }
+  dstr_putz(d);
 }
 
 /* --- @u_getuser@ --- *