Fix function not returning anything when it should return an int
in list_server.c.