aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-06 21:57:30 +0000
committerChristian Grothoff <christian@grothoff.org>2016-07-06 21:57:30 +0000
commitf7fafa634330f6d1755873fe4cb98d68af8f3427 (patch)
treea0fbe8e7feadd7375ab143597e98e489690fecee
parentff63934d2a8bc97df0916a8db490f8eaceec71b6 (diff)
downloadgnunet-gtk-f7fafa634330f6d1755873fe4cb98d68af8f3427.tar.gz
gnunet-gtk-f7fafa634330f6d1755873fe4cb98d68af8f3427.zip
converting GNUNET_TRANSPORT_monitor_peers implementation to MQ
-rw-r--r--m4/ltsugar.m47
-rw-r--r--src/peerinfo/gnunet-peerinfo-gtk.c1
2 files changed, 3 insertions, 5 deletions
diff --git a/m4/ltsugar.m4 b/m4/ltsugar.m4
index 48bc9344..9000a057 100644
--- a/m4/ltsugar.m4
+++ b/m4/ltsugar.m4
@@ -1,7 +1,6 @@
1# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- 1# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
2# 2#
3# Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software 3# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
4# Foundation, Inc.
5# Written by Gary V. Vaughan, 2004 4# Written by Gary V. Vaughan, 2004
6# 5#
7# This file is free software; the Free Software Foundation gives 6# This file is free software; the Free Software Foundation gives
@@ -34,7 +33,7 @@ m4_define([_lt_join],
34# ------------ 33# ------------
35# Manipulate m4 lists. 34# Manipulate m4 lists.
36# These macros are necessary as long as will still need to support 35# These macros are necessary as long as will still need to support
37# Autoconf-2.59, which quotes differently. 36# Autoconf-2.59 which quotes differently.
38m4_define([lt_car], [[$1]]) 37m4_define([lt_car], [[$1]])
39m4_define([lt_cdr], 38m4_define([lt_cdr],
40[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], 39[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
@@ -45,7 +44,7 @@ m4_define([lt_unquote], $1)
45 44
46# lt_append(MACRO-NAME, STRING, [SEPARATOR]) 45# lt_append(MACRO-NAME, STRING, [SEPARATOR])
47# ------------------------------------------ 46# ------------------------------------------
48# Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'. 47# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
49# Note that neither SEPARATOR nor STRING are expanded; they are appended 48# Note that neither SEPARATOR nor STRING are expanded; they are appended
50# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). 49# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
51# No SEPARATOR is output if MACRO-NAME was previously undefined (different 50# No SEPARATOR is output if MACRO-NAME was previously undefined (different
diff --git a/src/peerinfo/gnunet-peerinfo-gtk.c b/src/peerinfo/gnunet-peerinfo-gtk.c
index 5733ae09..97eb459b 100644
--- a/src/peerinfo/gnunet-peerinfo-gtk.c
+++ b/src/peerinfo/gnunet-peerinfo-gtk.c
@@ -1626,7 +1626,6 @@ run (void *cts)
1626 pmc = GNUNET_TRANSPORT_monitor_peers (cfg, 1626 pmc = GNUNET_TRANSPORT_monitor_peers (cfg,
1627 NULL, 1627 NULL,
1628 GNUNET_NO, 1628 GNUNET_NO,
1629 GNUNET_TIME_UNIT_FOREVER_REL,
1630 &transport_peer_cb, 1629 &transport_peer_cb,
1631 NULL); 1630 NULL);
1632 pm = GNUNET_TRANSPORT_monitor_plugins (cfg, 1631 pm = GNUNET_TRANSPORT_monitor_plugins (cfg,