Update audit.c

fix audit protocol error