1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-06-28 14:49:30 +00:00

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;