Load the correct ATS plugin when MODE is unconfigured.
authorDavid Barksdale <amatus.amongus@gmail.com>
Sun, 29 Dec 2013 01:03:44 +0000 (01:03 +0000)
committerDavid Barksdale <amatus.amongus@gmail.com>
Sun, 29 Dec 2013 01:03:44 +0000 (01:03 +0000)
commit120ba95916ae09a62baa52af3e6cd12ef72f5d6d
treec93d9c456b95778e391476aab036a67dfb284aa2
parent7ff76f7447000b2dacd06882eae64ab301bd8757
Load the correct ATS plugin when MODE is unconfigured.

In this case ah->ats_mode was set to MODE_PROPORTIONAL
but plugin_short was not touched. Instead initialize
plugin_short after we are done selecting ah->ats_mode.
This will be less prone to regression when a change
is made to the ats_mode selection code.
src/ats/gnunet-service-ats_addresses.c