Showing
1 changed file
with
0 additions
and
4 deletions
... | ... | @@ -33,15 +33,11 @@ |
33 | 33 | #include "http/message.h" |
34 | 34 | #include "http/header.h" |
35 | 35 | |
36 | -//#define RESP_DATA "<span class=\"small\">" \ | |
37 | -// "Value created at:<br/>%s<br/>Next value in: %ld seconds</span>" \ | |
38 | -// "<br />Value: %02d" | |
39 | 36 | #define RESP_DATA "{\"ctime\":%ld,\"vnext\":%ld,\"value\":%02d}" |
40 | 37 | |
41 | 38 | HttpResponse |
42 | 39 | httpResponseRandval(time_t ctime, int value) |
43 | 40 | { |
44 | - char timebuf[200]; | |
45 | 41 | char buffer[200]; |
46 | 42 | HttpResponse response; |
47 | 43 | HttpMessage message; | ... | ... |
Please
register
or
login
to post a comment