projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated copyright to 2013
[psensor.git]
/
src
/
lib
/
psensor_json.c
diff --git
a/src/lib/psensor_json.c
b/src/lib/psensor_json.c
index
18058bf
..
b6feecf
100644
(file)
--- a/
src/lib/psensor_json.c
+++ b/
src/lib/psensor_json.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2010-201
2
jeanfi@gmail.com
+ * Copyright (C) 2010-201
3
jeanfi@gmail.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@
-150,6
+150,7
@@
struct psensor *psensor_new_from_json(json_object *o,
s = psensor_create(strdup(url),
strdup(json_object_get_string(oname)),
s = psensor_create(strdup(url),
strdup(json_object_get_string(oname)),
+ NULL,
json_object_get_int(otype) | SENSOR_TYPE_REMOTE,
values_max_length);
s->url = url;
json_object_get_int(otype) | SENSOR_TYPE_REMOTE,
values_max_length);
s->url = url;