Update recover.c

Updates buffers equality statements to reflect that 0 is a valid entry