- char *p = strstr(revc_buf, "GET");
- if (p)
- {
- /* Find the end of the page request. */
- char *stop = strstr(revc_buf, "HTTP");
- if (!stop)
- {
- LOG_ERR("Bad GET request\n");
- name[0] = '\0';
- return;
- }
-
- /* skip the "/" in get string request */
- p += sizeof("GET") + 1;