gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: remove jsonapi dep from cop


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: remove jsonapi dep from copying
Date: Mon, 06 Aug 2018 16:36:59 +0200

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

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new fcaa5854a remove jsonapi dep from copying
fcaa5854a is described below

commit fcaa5854af792cad00c36ed1fd1c4e7fc2602f65
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Mon Aug 6 16:36:58 2018 +0200

    remove jsonapi dep from copying
---
 src/rest/Makefile.am           |  4 +---
 src/rest/plugin_rest_copying.c | 10 ++++------
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/src/rest/Makefile.am b/src/rest/Makefile.am
index 848b7101c..ce0454d53 100644
--- a/src/rest/Makefile.am
+++ b/src/rest/Makefile.am
@@ -35,10 +35,8 @@ libgnunet_plugin_rest_copying_la_SOURCES = \
   plugin_rest_copying.c
 libgnunet_plugin_rest_copying_la_LIBADD = \
        $(top_builddir)/src/rest/libgnunetrest.la \
-       $(top_builddir)/src/jsonapi/libgnunetjsonapi.la \
-  $(top_builddir)/src/jsonapi/libgnunetjsonapiutils.la \
   $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
-  $(LTLIBINTL) -ljansson -lmicrohttpd
+  $(LTLIBINTL) -lmicrohttpd
 libgnunet_plugin_rest_copying_la_LDFLAGS = \
  $(GN_PLUGIN_LDFLAGS)
 
diff --git a/src/rest/plugin_rest_copying.c b/src/rest/plugin_rest_copying.c
index f6a085c03..668dc5d38 100644
--- a/src/rest/plugin_rest_copying.c
+++ b/src/rest/plugin_rest_copying.c
@@ -24,9 +24,7 @@
 
 #include "platform.h"
 #include "gnunet_rest_plugin.h"
-#include <gnunet_jsonapi_util.h>
 #include <gnunet_rest_lib.h>
-#include <jansson.h>
 
 #define GNUNET_REST_API_NS_COPYING "/copying"
 
@@ -173,10 +171,10 @@ rest_copying_process_request (struct 
GNUNET_REST_RequestHandle *conndata_handle,
   handle->proc = proc;
   handle->rest_handle = conndata_handle;
 
-  if (GNUNET_NO == GNUNET_JSONAPI_handle_request (conndata_handle,
-                                                  handlers,
-                                                  &err,
-                                                  handle))
+  if (GNUNET_NO == GNUNET_REST_handle_request (conndata_handle,
+                                               handlers,
+                                               &err,
+                                               handle))
   {
     handle->response_code = err.error_code;
     GNUNET_SCHEDULER_add_now (&do_error, handle);

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



reply via email to

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