asf.c: fix variable usage