Explorar o código

Deleted old debug code.

default hai 1 ano
pai
achega
ba3518e729
Modificáronse 1 ficheiros con 0 adicións e 9 borrados
  1. 0 9
      main.c

+ 0 - 9
main.c

@@ -98,15 +98,6 @@ int main(int argc, char *argv[])
         return snac_init(basedir);
         return snac_init(basedir);
     }
     }
 
 
-    if (strcmp(cmd, "markdown") == 0) { /** **/
-        /* undocumented, for testing only */
-        xs *c = xs_readall(stdin);
-        xs *fc = not_really_markdown(c, NULL, NULL);
-
-        printf("<html>\n%s\n</html>\n", fc);
-        return 0;
-    }
-
     if ((basedir = getenv("SNAC_BASEDIR")) == NULL) {
     if ((basedir = getenv("SNAC_BASEDIR")) == NULL) {
         if ((basedir = GET_ARGV()) == NULL)
         if ((basedir = GET_ARGV()) == NULL)
             return usage();
             return usage();