From: David ‘Bombe’ Roden Date: Sun, 6 Jul 2008 11:08:56 +0000 (+0200) Subject: clear first link on text collections X-Git-Tag: 0.1~1 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b948521e1e937fa6bf188fced7e44cb05ad6669e;p=ecparse.git clear first link on text collections --- 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) {