CHANGE lnc2 devel changes
diff --git a/src/netopeerguid.c b/src/netopeerguid.c
index 19588a2..f936e50 100644
--- a/src/netopeerguid.c
+++ b/src/netopeerguid.c
@@ -3112,7 +3112,7 @@
DEBUG("creating temporal NC session.");
temp_session = nc_connect_ssh_channel(locked_session->session, NULL);
if (temp_session != NULL) {
- rpc = nc_rpc_subscribe(NULL, NULL, nc_time2datetime(start, NULL), nc_time2datetime(stop, NULL), NC_PARAMTYPE_CONST);
+ rpc = nc_rpc_subscribe(NULL, NULL, nc_time2datetime(start, NULL, NULL), nc_time2datetime(stop, NULL, NULL), NC_PARAMTYPE_CONST);
if (rpc == NULL) {
DEBUG("UNLOCK mutex %s", __func__);
pthread_mutex_unlock(&locked_session->lock);
diff --git a/src/notification_server.c b/src/notification_server.c
index 91df83e..633936b 100644
--- a/src/notification_server.c
+++ b/src/notification_server.c
@@ -564,8 +564,8 @@
DEBUG("Prepare to execute subscription.");
/* create requests */
- rpc = nc_rpc_subscribe(stream, NULL, (start_time == -1) ? NULL : nc_time2datetime(start, NULL),
- (stop_time == 0) ? NULL : nc_time2datetime(stop, NULL), NC_PARAMTYPE_CONST);
+ rpc = nc_rpc_subscribe(stream, NULL, (start_time == -1) ? NULL : nc_time2datetime(start, NULL, NULL),
+ (stop_time == 0) ? NULL : nc_time2datetime(stop, NULL, NULL), NC_PARAMTYPE_CONST);
if (rpc == NULL) {
ERROR("notifications: creating an rpc request failed.");
goto operation_failed;