Skip to content

Commit

Permalink
fix resending old media when newest was deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
bakatrouble committed Jan 28, 2020
1 parent 08813a7 commit ad79398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ int main(int argc, char **argv) {
size_t fs;
while (true) {
tmpItem = getLastAlbumItem(conf);
if (lastItem != tmpItem) {
if (lastItem.compare(tmpItem) < 0) {
fs = filesize(tmpItem);
if (fs > 0) {
cout << "=============================" << endl;
Expand Down

0 comments on commit ad79398

Please sign in to comment.