projects
/
ppastats.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merged plib
[ppastats.git]
/
src
/
lp_json.c
diff --git
a/src/lp_json.c
b/src/lp_json.c
index
c3345fd
..
0643a1b
100644
(file)
--- a/
src/lp_json.c
+++ b/
src/lp_json.c
@@
-25,6
+25,7
@@
#include "lp_json.h"
#include "lp_ws.h"
#include "lp_json.h"
#include "lp_ws.h"
+#include <ptime.h>
static time_t json_to_time(json_object *json)
{
static time_t json_to_time(json_object *json)
{
@@
-51,7
+52,7
@@
static json_object *time_to_json(time_t t)
{
char *str;
{
char *str;
- str = time_to_str(t);
+ str = time_to_str(
&
t);
if (str)
return json_object_new_string(str);
if (str)
return json_object_new_string(str);