Fixed warnings on networkpug.c