Fixed wrong return type from getline in src/util.c