浏览代码

whoops, forgot break statements

David Rose 18 年之前
父节点
当前提交
44137206a2
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      panda/src/downloader/httpChannel.cxx

+ 3 - 0
panda/src/downloader/httpChannel.cxx

@@ -384,12 +384,15 @@ run() {
     switch (_download_dest) {
     case DD_none:
       repeat_later = false;  // We're done.
+      break;
 
     case DD_file:
       repeat_later = run_download_to_file();
+      break;
 
     case DD_ram:
       repeat_later = run_download_to_ram();
+      break;
     }
     if (repeat_later) {
       thread_yield();