Update aof.c

Interval set patch