summaryrefslogtreecommitdiff
path: root/src/biruda.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/biruda.c')
-rw-r--r--src/biruda.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/biruda.c b/src/biruda.c
index c46b580..e150627 100644
--- a/src/biruda.c
+++ b/src/biruda.c
@@ -387,7 +387,6 @@ int main( int argc, char *argv[] )
}
}
int ret;
-#ifndef _WIN32
unsigned int port = DEFAULT_WEBSERVER_PORT;
if( args_info.config_file_given ) {
cfg_t *webserver_cfg = cfg_getnsec( cfg, "webserver", 0 );
@@ -405,10 +404,11 @@ int main( int argc, char *argv[] )
port = atoi( args_info.inputs[1] );
}
+#ifndef _WIN32
ret = start_interactive( ( in == stdin ) ? !args_info.no_colors_given : false, host, port, in );
#else
if( args_info.filename_given ) {
- ret = start_interactive( false, in );
+ ret = start_interactive( false, host, port, in );
} else {
fprintf( stderr, "FATAL: No CLI mode implemented for Windows currently!\n" );
ret = -1;