summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d746867)
raw | patch | inline | side by side (parent: d746867)
author | Florian Forster <ff@octo.it> | |
Tue, 6 Jul 2010 20:38:45 +0000 (22:38 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 6 Jul 2010 20:38:45 +0000 (22:38 +0200) |
src/action_show_graph_json.c | patch | blob | history |
index 402627ce36eb7e9a810ebd1e5698bca6de057473..a1cf011c48345cb6e1058b604ee8f8ba6d0a1f93 100644 (file)
return (ENOMEM);
}
- printf ("Content-Type: text/plain\n");
+ printf ("Content-Type: application/json\n");
now = time (NULL);
status = time_to_rfc1123 (now + 300, time_buffer, sizeof (time_buffer));