fix net.c redis source