[pan2] Missing break



commit 73863fcf4d788884160e58ea29191dd47427eac4
Author: Andrew Nile <andrewjnile gmail com>
Date:   Tue Mar 8 22:03:59 2016 +0100

    Missing break
    
    Missing break after a successful upload causes a connection reset.

 pan/tasks/task-upload.cc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pan/tasks/task-upload.cc b/pan/tasks/task-upload.cc
index 8487d7c..ff16de1 100644
--- a/pan/tasks/task-upload.cc
+++ b/pan/tasks/task-upload.cc
@@ -347,6 +347,7 @@ TaskUpload :: on_nntp_done (NNTP * nntp,
         Log::add_entry_list (tmp, _logfile);
         _logfile.clear();
       }
+      break;
     case TOO_MANY_CONNECTIONS:
       // lockout for 120 secs, but try
       it->second.reset();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]