projects
/
ecparse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clear first link on text collections
[ecparse.git]
/
CollectionReader.cpp
diff --git
a/CollectionReader.cpp
b/CollectionReader.cpp
index
d27eba0
..
7d47ea1
100644
(file)
--- 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) {