Searched refs:HTTP_PREFIX (Results 1 – 1 of 1) sorted by relevance
48 static const char HTTP_PREFIX[] = "http://"; in parseUrl() local49 if (strncmp(args.arg1, HTTP_PREFIX, strlen(HTTP_PREFIX)) != 0) { in parseUrl()50 std::cerr << "Only " << HTTP_PREFIX << " URLs supported." << std::endl; in parseUrl()54 parameters->host = std::string(args.arg1).substr(strlen(HTTP_PREFIX)); in parseUrl()