Searched refs:protocol_len (Results 1 – 1 of 1) sorted by relevance
35 int protocol_len = 0; in ofc_Init() local41 protocol_len = strlen(url) - strlen(protocol_end); in ofc_Init()44 if ((strlen("http") == protocol_len) && in ofc_Init()45 (memcmp("http", url, protocol_len) == 0)) { in ofc_Init()48 } else if ((strlen("https") == protocol_len) && in ofc_Init()49 (memcmp("https", url, protocol_len) == 0)) { in ofc_Init()
Completed in 2 milliseconds