Home
last modified time | relevance | path

Searched refs:cp_nons (Results 1 – 1 of 1) sorted by relevance

/external/libppp/src/
Dipcp.c220 char *cp, *cp_nons, *ncp, ch; in ipcp_LoadDNS() local
226 cp_nons = ipcp->ns.resolv_nons; in ipcp_LoadDNS()
232 memcpy(cp_nons, cp, ncp - cp); in ipcp_LoadDNS()
233 cp_nons += ncp - cp; in ipcp_LoadDNS()
236 memcpy(cp_nons, ncp, 9); in ipcp_LoadDNS()
237 cp_nons += 9; in ipcp_LoadDNS()
263 strcpy(cp_nons, cp); /* Copy the end - including the NUL */ in ipcp_LoadDNS()
264 cp_nons += strlen(cp_nons) - 1; in ipcp_LoadDNS()
265 while (cp_nons >= ipcp->ns.resolv_nons && *cp_nons == '\n') in ipcp_LoadDNS()
266 *cp_nons-- = '\0'; in ipcp_LoadDNS()