gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-twister] 07/34: fix actual object emptying.


From: gnunet
Subject: [GNUnet-SVN] [taler-twister] 07/34: fix actual object emptying.
Date: Sat, 17 Mar 2018 01:57:58 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository twister.

commit 324eff476dae560dda4ac99b71c776671da1a031
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Mar 7 12:15:12 2018 +0100

    fix actual object emptying.
---
 src/twister/taler-twister-service.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/twister/taler-twister-service.c 
b/src/twister/taler-twister-service.c
index c95760a..7d1b435 100644
--- a/src/twister/taler-twister-service.c
+++ b/src/twister/taler-twister-service.c
@@ -1171,7 +1171,7 @@ create_response (void *cls,
     while (NULL != (token_path = strtok (NULL, ".")));
     
     /* here, element is what needs to be emptied. */
-    if (-1 == json_object_update (element, json_object ()))
+    if (-1 == json_object_clear (element))
     {
       TALER_LOG_ERROR ("Could not empty the object\n");
       delete_path[0] = '\0';

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]