[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] add coverage for a default case
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv8275/src/or
Modified Files:
dirserv.c
Log Message:
add coverage for a default case
Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.334
retrieving revision 1.335
diff -u -p -d -r1.334 -r1.335
--- dirserv.c 18 Jun 2006 07:55:04 -0000 1.334
+++ dirserv.c 18 Jun 2006 07:57:47 -0000 1.335
@@ -1847,6 +1847,8 @@ connection_dirserv_flushed_some(connecti
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;
}
}