opnsense-ports/net/ocserv/files/patch-src_occtl_occtl.c
Franco Fichtner 43e346094a */*: sync with upstream
Taken from: HardenedBSD
2018-05-14 16:46:17 +02:00

11 lines
386 B
C

--- src/occtl/occtl.c.orig 2018-01-14 16:25:24 UTC
+++ src/occtl/occtl.c
@@ -249,7 +249,7 @@ static int handle_help_cmd(CONN_TYPE * conn, const cha
static int handle_reset_cmd(CONN_TYPE * conn, const char *arg, cmd_params_st *params)
{
rl_reset_terminal(NULL);
-#ifdef HAVE_ORIG_READLINE
+#if defined(HAVE_ORIG_READLINE) && !defined(__FreeBSD__)
rl_reset_screen_size();
#endif