Fix one more problem related to save settings

This commit is contained in:
lazio579 2019-03-25 11:07:45 +08:00
parent d03d54b9da
commit 3dda708f1f

View File

@ -1240,7 +1240,7 @@ show_enable_tcp_stream(gpointer param) {
return g_strdup_printf("%s", srv->is_tcp_stream_enabled ? "true" : "false");
}
if (CAN_SAVE_OPTS_PROPERTY(opt_type)) {
return srv->is_tcp_stream_enabled ? g_strdup("true") : NULL;
return srv->is_tcp_stream_enabled ? g_strdup("true") : g_strdup("false");
}
return NULL;
}