mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-05 19:15:32 +00:00
SIP dial() convert the port from int to string
This commit is contained in:
parent
19f8ac390b
commit
90228e968c
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ dial (CallsOrigin *origin,
|
|||
dial_target = g_strdup (address);
|
||||
} else {
|
||||
if (self->port > 0)
|
||||
dial_target = g_strconcat (address, "@", self->host, ":", self->port, NULL);
|
||||
dial_target = g_strdup_printf ("%s@%s:%d", address, self->host, self->port);
|
||||
else
|
||||
dial_target = g_strconcat (address, "@", self->host, NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue