Home
last modified time | relevance | path

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

/AliOS-Things-master/components/linkkit/ota/
A Dota_fetch.c35 int protocol_len = 0; in ofc_Init() local
41 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