mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 12:25:31 +00:00
sip: origin: Bail when trying to dial empty string
This commit is contained in:
parent
2fc5533e1a
commit
1b4e968e8e
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ dial (CallsOrigin *origin,
|
||||||
|
|
||||||
name = calls_origin_get_name (origin);
|
name = calls_origin_get_name (origin);
|
||||||
|
|
||||||
if (address == NULL) {
|
if (!address || !*address) {
|
||||||
g_warning ("Tried dialing on origin '%s' without an address",
|
g_warning ("Tried dialing on origin '%s' without an address",
|
||||||
name);
|
name);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue