diff options
Diffstat (limited to 'src/listen.c')
-rw-r--r-- | src/listen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/listen.c b/src/listen.c index e8306cd1e..b5a7b369a 100644 --- a/src/listen.c +++ b/src/listen.c @@ -313,6 +313,9 @@ listen_add_host(const char *hostname, unsigned port, GError **error) #endif /* !WIN32 */ #else /* HAVE_TCP */ + (void)hostname; + (void)port; + g_set_error(error, listen_quark(), 0, "TCP support is disabled"); return false; |