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/?p=ecparse.git;a=commitdiff_plain;h=b948521e1e937fa6bf188fced7e44cb05ad6669e;hp=9c7d654cf83b867c839ffab801885bb2fa65bd7a 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) {