Lines Matching refs:cur
764 char *cur, *end; in fcgi_listen() local
769 cur = ip; in fcgi_listen()
771 while (*cur) { in fcgi_listen()
772 if (*cur == ',') n++; in fcgi_listen()
773 cur++; in fcgi_listen()
777 cur = ip; in fcgi_listen()
778 while (cur) { in fcgi_listen()
779 end = strchr(cur, ','); in fcgi_listen()
784 if (inet_pton(AF_INET, cur, &allowed_clients[n].sa_inet.sin_addr)>0) { in fcgi_listen()
788 } else if (inet_pton(AF_INET6, cur, &allowed_clients[n].sa_inet6.sin6_addr)>0) { in fcgi_listen()
793 fcgi_log(FCGI_ERROR, "Wrong IP address '%s' in listen.allowed_clients", cur); in fcgi_listen()
795 cur = end; in fcgi_listen()
823 char *cur, *end; in fcgi_set_allowed_clients() local
828 cur = ip; in fcgi_set_allowed_clients()
830 while (*cur) { in fcgi_set_allowed_clients()
831 if (*cur == ',') n++; in fcgi_set_allowed_clients()
832 cur++; in fcgi_set_allowed_clients()
837 cur = ip; in fcgi_set_allowed_clients()
838 while (cur) { in fcgi_set_allowed_clients()
839 end = strchr(cur, ','); in fcgi_set_allowed_clients()
844 if (inet_pton(AF_INET, cur, &allowed_clients[n].sa_inet.sin_addr)>0) { in fcgi_set_allowed_clients()
848 } else if (inet_pton(AF_INET6, cur, &allowed_clients[n].sa_inet6.sin6_addr)>0) { in fcgi_set_allowed_clients()
853 fcgi_log(FCGI_ERROR, "Wrong IP address '%s' in listen.allowed_clients", cur); in fcgi_set_allowed_clients()
855 cur = end; in fcgi_set_allowed_clients()