/*
- * Copyright (C) 2010-2012 jeanfi@gmail.com
+ * Copyright (C) 2010-2013 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
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;