sip: origin: Bail when trying to dial empty string

This commit is contained in:
Evangelos Ribeiro Tzaras
2021-10-29 01:01:59 +02:00
parent 2fc5533e1a
commit 1b4e968e8e

View File

@@ -275,7 +275,7 @@ dial (CallsOrigin *origin,
name = calls_origin_get_name (origin);
if (address == NULL) {
if (!address || !*address) {
g_warning ("Tried dialing on origin '%s' without an address",
name);
return;