this because I checked the sched_alloc function to use calloc instead of
malloc, so I thought it was no longer necessary. However, the sched structures
are cached, and cached values will have the old values in them, so this still
needs to be done.
Also, wrap the scheduler debug code to only happen if option_debug is enabled.
It spits out a ton of output so it's nice to be able to enable/disable it
during runtime.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24950 65c4cc65-6c06-0410-ace0-fbb531ad65f3