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

[or-cvs] Use autoconf to enable largefile support where necessary. U...



Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv20958/src/or

Modified Files:
	circuitbuild.c 
Log Message:
Use autoconf to enable largefile support where necessary. Use ftello where available, since ftell can fail at 2GB.

Index: circuitbuild.c
===================================================================
RCS file: /home/or/cvsroot/src/or/circuitbuild.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- circuitbuild.c	10 Nov 2004 20:19:45 -0000	1.55
+++ circuitbuild.c	12 Nov 2004 05:05:41 -0000	1.56
@@ -20,12 +20,10 @@
 
 static int
 circuit_deliver_create_cell(circuit_t *circ, char *payload);
-static cpath_build_state_t *
-onion_new_cpath_build_state(uint8_t purpose, const char *exit_digest);
-static int
-onion_extend_cpath(crypt_path_t **head_ptr, cpath_build_state_t
-                   *state, routerinfo_t **router_out);
-static int decide_circ_id_type(char *local_nick, char *remote_nick);
+static cpath_build_state_t *onion_new_cpath_build_state(uint8_t purpose,
+                                                   const char *exit_digest);
+static int onion_extend_cpath(crypt_path_t **head_ptr,
+                       cpath_build_state_t *state, routerinfo_t **router_out);
 static int count_acceptable_routers(smartlist_t *routers);
 
 /** Iterate over values of circ_id, starting from conn-\>next_circ_id,
@@ -342,7 +340,6 @@
 
 static int
 circuit_deliver_create_cell(circuit_t *circ, char *payload) {
-  int circ_id_type;
   cell_t cell;
 
   tor_assert(circ);