some fixes related new threading model within ags_devout.c
Authored by: weedlight 2012-12-27
Parent: [r714]
Child: [r716]