gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-twister] 04/04: need process-trait.


From: gnunet
Subject: [GNUnet-SVN] [taler-twister] 04/04: need process-trait.
Date: Fri, 02 Mar 2018 15:17:24 +0100

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

marcello pushed a commit to branch master
in repository twister.

commit 3513119c97960293b96bfb9add1f1c0fa1de6abc
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Mar 2 15:16:54 2018 +0100

    need process-trait.
---
 src/twister/testing_api_cmd_exec_client.c | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/twister/testing_api_cmd_exec_client.c 
b/src/twister/testing_api_cmd_exec_client.c
index f127218..b3075d3 100644
--- a/src/twister/testing_api_cmd_exec_client.c
+++ b/src/twister/testing_api_cmd_exec_client.c
@@ -91,8 +91,17 @@ hack_response_code_traits (void *cls,
                            const char *trait,
                            unsigned int index)
 {
-  /* Some other command may "probe" here looking for traits. */
-  return GNUNET_SYSERR;
+
+  struct HackResponseCodeState *hrcs = cls;
+  struct TALER_TESTING_Trait traits[] = {
+    TALER_TESTING_make_trait_process (0, &hrcs->proc),
+    TALER_TESTING_trait_end ()
+  };
+
+  return TALER_TESTING_get_trait (traits,
+                                  ret,
+                                  trait,
+                                  index);
 }
 
 static void

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



reply via email to

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