forked from enlightenment/efl
parent
f639b86ca5
commit
e89ea49c8b
|
@ -199,7 +199,12 @@ ecore_con_server_add(Ecore_Con_Type compl_type, const char *name, int port,
|
|||
{
|
||||
mask = 0;
|
||||
if (name[0] == '/')
|
||||
{
|
||||
if (port >= 0)
|
||||
snprintf(buf, sizeof(buf), "%s|%i", name, port);
|
||||
else
|
||||
snprintf(buf, sizeof(buf), "%s", name);
|
||||
}
|
||||
else
|
||||
snprintf(buf, sizeof(buf), "/tmp/.ecore_service|%s|%i", name, port);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue