mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-09 13:25:35 +00:00
sip: origin: Bail when trying to dial empty string
(cherry picked from commit 1b4e968e8e
)
This commit is contained in:
parent
9a7a11c82c
commit
1ec6614a3d
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