diff --git a/htmldoc/mmd.c b/htmldoc/mmd.c index 21c94ece..800799f7 100644 --- a/htmldoc/mmd.c +++ b/htmldoc/mmd.c @@ -1214,7 +1214,7 @@ mmdLoadString(mmd_t *root, /* I - Root node for document or `NULL` for a n char tempfile[1024]; /* Temporary filename */ - if (tempnam_s(tempfile, sizeof(tempfile)) + if (tempnam_s(tempfile, sizeof(tempfile))) return (root); if ((fp = fopen(tempfile, "w+")) == NULL)