aboutsummaryrefslogtreecommitdiff
path: root/src/ats/ats_api_scheduling.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-05-06 12:59:09 +0000
committerChristian Grothoff <christian@grothoff.org>2012-05-06 12:59:09 +0000
commitc12692b966d6e98b564940d72469a8dd1348a77d (patch)
tree7151a8ef0758f30bc67c64f6b14d44abd9bb8440 /src/ats/ats_api_scheduling.c
parentc29bb29f2be760d1fe4fa156a71b99a3bd277fd6 (diff)
downloadgnunet-c12692b966d6e98b564940d72469a8dd1348a77d.tar.gz
gnunet-c12692b966d6e98b564940d72469a8dd1348a77d.zip
-eliminating legacy defines
Diffstat (limited to 'src/ats/ats_api_scheduling.c')
-rw-r--r--src/ats/ats_api_scheduling.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c
index eef0fa922..3c98b238c 100644
--- a/src/ats/ats_api_scheduling.c
+++ b/src/ats/ats_api_scheduling.c
@@ -847,25 +847,6 @@ GNUNET_ATS_address_get_type (struct GNUNET_ATS_SchedulingHandle * sh, const stru
847 /* no local network found for this address, default: WAN */ 847 /* no local network found for this address, default: WAN */
848 if (type == GNUNET_ATS_NET_UNSPECIFIED) 848 if (type == GNUNET_ATS_NET_UNSPECIFIED)
849 type = GNUNET_ATS_NET_WAN; 849 type = GNUNET_ATS_NET_WAN;
850
851#if VERBOSE
852 const char * range;
853 switch (type) {
854 case GNUNET_ATS_NET_WAN:
855 range = "WAN";
856 break;
857 case GNUNET_ATS_NET_LAN:
858 range = "LAN";
859 break;
860 case GNUNET_ATS_NET_LOOPBACK:
861 range = "LOOPBACK";
862 break;
863 default:
864
865 break;
866 }
867#endif
868
869 ats.type = htonl (GNUNET_ATS_NETWORK_TYPE); 850 ats.type = htonl (GNUNET_ATS_NETWORK_TYPE);
870 ats.value = htonl (type); 851 ats.value = htonl (type);
871 return (const struct GNUNET_ATS_Information) ats; 852 return (const struct GNUNET_ATS_Information) ats;