-fixing minor compiler warnings
authorChristian Grothoff <christian@grothoff.org>
Sat, 6 Dec 2014 23:15:11 +0000 (23:15 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 6 Dec 2014 23:15:11 +0000 (23:15 +0000)
src/dv/gnunet-service-dv.c
src/secretsharing/Makefile.am

index a423a55bc67f78de39aec2b2c4ae7dfae44650ab..e0bb89ccf23b23c2edea4f08ab8fe9bfd4e21f6d 100644 (file)
@@ -633,7 +633,7 @@ core_transmit_notify (void *cls, size_t size, void *buf)
              off,
              GNUNET_i2s (&dn->peer));
   GNUNET_assert (NULL != core_api);
-  if (NULL != dn->pm_head)
+  if (NULL != pending)
     dn->cth =
       GNUNET_CORE_notify_transmit_ready (core_api,
                                         GNUNET_YES /* cork */,
index 45805f99c042fcfc8d869e4309e2ccf986fde646..9414afef9d69cdb29063ce2197bc0c54f8fcad98 100644 (file)
@@ -29,9 +29,9 @@ lib_LTLIBRARIES = \
 gnunet_secretsharing_profiler_SOURCES = \
  gnunet-secretsharing-profiler.c
 gnunet_secretsharing_profiler_LDADD = \
-  $(top_builddir)/src/util/libgnunetutil.la \
   libgnunetsecretsharing.la \
   $(top_builddir)/src/testbed/libgnunettestbed.la \
+  $(top_builddir)/src/util/libgnunetutil.la \
   $(GN_LIBINTL)
 
 gnunet_service_secretsharing_SOURCES = \
@@ -66,9 +66,9 @@ endif
 test_secretsharing_api_SOURCES = \
  test_secretsharing_api.c
 test_secretsharing_api_LDADD = \
-  $(top_builddir)/src/util/libgnunetutil.la \
+  libgnunetsecretsharing.la \
   $(top_builddir)/src/testing/libgnunettesting.la \
-  libgnunetsecretsharing.la
+  $(top_builddir)/src/util/libgnunetutil.la
 
 EXTRA_DIST = \
   test_secretsharing.conf