# | Line 81 | Line 81 | void HostUpdate::mode() | |
---|---|---|
81 | false; | |
82 | ||
83 | for (multimap<string, string>::iterator itor = cgi.find("mode"); itor != | |
84 | < | cgi.upper_bound("mode"); itor++) |
84 | > | cgi.upper_bound("mode") && itor != cgi.end(); itor++) |
85 | { | |
86 | string mode = itor->second; | |
87 | ||
# | Line 149 | Line 149 | void HostUpdate::display() | |
149 | bool request = false; | |
150 | ||
151 | for (multimap<string, string>::iterator itor = cgi.find("host"); itor != | |
152 | < | cgi.upper_bound("host"); itor++) |
152 | > | cgi.upper_bound("host") && itor != cgi.end(); itor++) |
153 | { | |
154 | if (itor->second != "") | |
155 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |