gustafn
committed
on 19 Oct 15
- remove useless if-statement
- use ad_log for error reporting to ease debugging