X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=CollectionReader.cpp;h=7d47ea124795f96a7dae99ebeb984b4d8cb97f09;hb=e53931e2d572aacb9feb1b386868c88b354a8d71;hp=d27eba044811c9863f351a67a415f7dc9ea19e03;hpb=9c7d654cf83b867c839ffab801885bb2fa65bd7a;p=ecparse.git diff --git a/CollectionReader.cpp b/CollectionReader.cpp index d27eba0..7d47ea1 100644 --- a/CollectionReader.cpp +++ b/CollectionReader.cpp @@ -140,6 +140,7 @@ ED2KLink* CollectionReader::getNextLink() { GlobalSettings::isVerbose() && fprintf(stderr, "[%s:%d] got line: %s\n", __FILE__, __LINE__, line); ED2KLink* ed2kLink = ED2KLink::parseED2KLink(line); free(line); + firstLink = false; return ed2kLink; } if (firstLink) {