Remove $Id$ tags from most of webcit
[citadel.git] / webcit / utils.c
index 0c10e4d9a3e59d2a0985afda75d71d09529cd8c7..8f19109d68906b6556a4872fee4d02c85f1e7d2e 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id: utils.c 6808 2008-12-11 00:00:36Z dothebart $
- *
  * de/encoding stuff. hopefully mostly to be depricated in favour of subst.c + strbuf
  */
 
@@ -42,7 +40,7 @@ long unescape_input(char *buf)
                                hex[1] = buf[a + 2];
                                hex[2] = 0;
                                b = 0;
-                               sscanf(hex, "%02x", &b);
+                               b = decode_hex(hex);
                                buf[a] = (char) b;
                                len = buflen - a - 2;
                                if (len > 0)
@@ -249,7 +247,7 @@ void jsescputs(char *strbuf)
        char outbuf[SIZ];
        
        jsesc(outbuf, SIZ, strbuf);
-       wprintf("%s", outbuf);
+       wc_printf("%s", outbuf);
 }
 
 /*