Home
last modified time | relevance | path

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

/AliOS-Things-master/components/linkkit/ota/
A Dota_fetch.c34 char *protocol_end = NULL, *port_start = NULL, *port_end = NULL; in ofc_Init() local
72 port_start = strstr(protocol_end + 1, ":"); in ofc_Init()
73 if (port_start != NULL) { in ofc_Init()
74 port_end = strstr(port_start + 1, "/"); in ofc_Init()
76 OTA_LOG_INFO("port exist: %.*s", (int)(port_end - port_start - 1), in ofc_Init()
77 port_start + 1); in ofc_Init()
78 infra_str2int((const char *)(port_start + 1), &port); in ofc_Init()

Completed in 2 milliseconds