# | Line 34 | Line 34 | inline int sputenv(const string& name) | |
---|---|---|
34 | char* value = new char[name.size() + 1]; | |
35 | ||
36 | sprintf(value, name.c_str()); | |
37 | < | |
37 | > | |
38 | int code = putenv(value); | |
39 | ||
40 | return code; | |
# | Line 66 | Line 66 | class HostStatus | |
66 | private: | |
67 | multimap<string, string> cgi; | |
68 | bool page; | |
69 | + | bool host; |
70 | + | bool name; |
71 | + | bool address; |
72 | + | bool platform; |
73 | + | bool since; |
74 | void parse(const string& method); | |
75 | + | void mode(); |
76 | void display(const string& method); | |
77 | void header(); | |
78 | void footer(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |