Searched refs:rbracket (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/libsystemd/sd-bus/ |
D | sd-bus.c | 1397 char *m = NULL, *c = NULL, *a, *rbracket = NULL, *p = NULL; in bus_set_address_system_remote() local 1406 rbracket = strchr(host, ']'); in bus_set_address_system_remote() 1407 if (!rbracket) in bus_set_address_system_remote() 1409 t = strndupa_safe(host + 1, rbracket - host - 1); in bus_set_address_system_remote() 1417 rbracket = strchr(a + 1, ']'); in bus_set_address_system_remote() 1418 if (!rbracket) in bus_set_address_system_remote() 1424 strncat(t, a + 2, rbracket - a - 2); in bus_set_address_system_remote() 1433 m = strchr(rbracket ? rbracket + 1 : host, ':'); in bus_set_address_system_remote() 1456 m = strchr(rbracket ? rbracket + 1 : host, '/'); in bus_set_address_system_remote()
|