SIP dial() convert the port from int to string
This commit is contained in:

committed by
Evangelos Ribeiro Tzaras

parent
19f8ac390b
commit
90228e968c
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user