40 |
|
{ |
41 |
|
update(agent); |
42 |
|
} |
43 |
+ |
else if (agent.find("Host Update Sharp/") == 0 && method == "POST" && |
44 |
+ |
agent.find(" (") != string::npos && agent.find(')') != string::npos) |
45 |
+ |
{ |
46 |
+ |
update(agent); |
47 |
+ |
} |
48 |
|
else |
49 |
|
{ |
50 |
|
display(); |
86 |
|
false; |
87 |
|
|
88 |
|
for (multimap<string, string>::iterator itor = cgi.find("mode"); itor != |
89 |
< |
cgi.upper_bound("mode"); itor++) |
89 |
> |
cgi.upper_bound("mode") && itor != cgi.end(); itor++) |
90 |
|
{ |
91 |
|
string mode = itor->second; |
92 |
|
|
154 |
|
bool request = false; |
155 |
|
|
156 |
|
for (multimap<string, string>::iterator itor = cgi.find("host"); itor != |
157 |
< |
cgi.upper_bound("host"); itor++) |
157 |
> |
cgi.upper_bound("host") && itor != cgi.end(); itor++) |
158 |
|
{ |
159 |
|
if (itor->second != "") |
160 |
|
{ |