clear first link on text collections
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 6 Jul 2008 11:08:56 +0000 (13:08 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 6 Jul 2008 11:08:56 +0000 (13:08 +0200)
CollectionReader.cpp

index d27eba0..7d47ea1 100644 (file)
@@ -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) {