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