aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/main.c b/main.c
index 1cd6580..3cd4524 100644
--- a/main.c
+++ b/main.c
@@ -98,15 +98,6 @@ int main(int argc, char *argv[])
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 = GET_ARGV()) == NULL)
return usage();
@@ -719,7 +710,7 @@ int main(int argc, char *argv[])
if (strcmp(cmd, "note_unlisted") == 0)
scope = 2;
- msg = msg_note(&snac, content, NULL, NULL, attl, scope, getenv("LANG"));
+ msg = msg_note(&snac, content, NULL, NULL, attl, scope, getenv("LANG"), NULL);
c_msg = msg_create(&snac, msg);