Browse Source

add coverage for a default case

svn:r6643
Nick Mathewson 19 years ago
parent
commit
c58cc8c16c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/or/dirserv.c

+ 2 - 0
src/or/dirserv.c

@@ -1847,6 +1847,8 @@ connection_dirserv_flushed_some(connection_t *conn)
       return connection_dirserv_add_servers_to_outbuf(conn);
     case DIR_REFRESH_CACHED_DIR:
       return connection_dirserv_add_dir_bytes_to_outbuf(conn);
+    default:
+      return 0;
   }
 }