Lines Matching refs:chr
61 char *chr, *portStr = NULL;
63 chr = strchr(peer, '[');
64 if (chr != NULL) {
66 chr = strchr(peer, ']');
67 if (chr == NULL) {
76 chr = strchr(chr, ':');
79 chr = strchr(peer, ']');
80 if (chr != NULL) {
89 chr = strchr(peer, ':');
92 if (chr != NULL && *(chr + 1) != '\0') {
93 *chr++ = '\0';
94 portStr = chr;