altos: Make sure ao_storage_config is set before reading config block
authorKeith Packard <keithp@keithp.com>
Mon, 18 Jun 2012 02:11:35 +0000 (19:11 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 18 Jun 2012 02:11:35 +0000 (19:11 -0700)
commit611f37607fadcdc9908d67456f844a452ad4a87a
treebe13207f8928f0117c002a9ccf405643337ef95b
parentae3662c56effda9f0516c7d6ffd2d5f56b859593
altos: Make sure ao_storage_config is set before reading config block

ao_storage_read does in fact call ao_storage_setup, but we need the
value of ao_storage_config *before* calling ao_storage_read, so call
ao_storage_setup first.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_config.c