openwrt-packages/net/sslh/patches/010-format.patch

12 lines
382 B
Diff

--- a/sslh-main.c
+++ b/sslh-main.c
@@ -167,7 +167,7 @@ void cmd_ssl_to_tls(int argc, char* argv[])
strcpy(argv[i], "--tls");
/* foreground option not parsed yet, syslog not open, just print on
* stderr and hope for the best */
- fprintf(stderr, ssl_err_msg);
+ fprintf(stderr, "%s", ssl_err_msg);
}
}
}