minor fix(es) in file funcnet.c