Explorar o código

add coverage for a default case

svn:r6643
Nick Mathewson %!s(int64=20) %!d(string=hai) anos
pai
achega
c58cc8c16c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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;
   }
 }