rtmp-services: Remove unnecessary null check

This commit is contained in:
Richard Stanway 2018-08-11 02:54:50 +02:00
parent 750f0f2ea4
commit 8fdbf60228
No known key found for this signature in database
GPG Key ID: AAC1E5265D71B3FD

View File

@ -328,7 +328,7 @@ static void fill_servers(obs_property_t *servers_prop, json_t *service,
obs_property_list_add_string(servers_prop,
obs_module_text("Server.Auto"), "auto");
}
if (name && strcmp(name, "Twitch") == 0) {
if (strcmp(name, "Twitch") == 0) {
if (fill_twitch_servers(servers_prop))
return;
}