[or-cvs] r17808: {tor} More compilation tweaks on Android: fix two clear errors in (tor/trunk/src/or)

nickm at seul.org nickm at seul.org
Mon Dec 29 04:01:58 UTC 2008


Author: nickm
Date: 2008-12-28 23:01:58 -0500 (Sun, 28 Dec 2008)
New Revision: 17808

Modified:
   tor/trunk/src/or/eventdns.c
   tor/trunk/src/or/or.h
Log:
More compilation tweaks on Android: fix two clear errors in our code that apparently the compiler cares about there.

Modified: tor/trunk/src/or/eventdns.c
===================================================================
--- tor/trunk/src/or/eventdns.c	2008-12-29 03:47:46 UTC (rev 17807)
+++ tor/trunk/src/or/eventdns.c	2008-12-29 04:01:58 UTC (rev 17808)
@@ -102,7 +102,7 @@
 #endif
 
 #ifdef HAVE_NETINET_IN6_H
-#include <netinet6/in6.h>
+#include <netinet/in6.h>
 #endif
 
 #ifdef WIN32

Modified: tor/trunk/src/or/or.h
===================================================================
--- tor/trunk/src/or/or.h	2008-12-29 03:47:46 UTC (rev 17807)
+++ tor/trunk/src/or/or.h	2008-12-29 04:01:58 UTC (rev 17808)
@@ -2872,8 +2872,8 @@
 
 int config_get_lines(const char *string, config_line_t **result);
 void config_free_lines(config_line_t *front);
-int options_trial_assign(config_line_t *list, int use_defaults,
-                         int clear_first, char **msg);
+setopt_err_t options_trial_assign(config_line_t *list, int use_defaults,
+                                  int clear_first, char **msg);
 int resolve_my_address(int warn_severity, or_options_t *options,
                        uint32_t *addr, char **hostname_out);
 int is_local_addr(const tor_addr_t *addr) ATTR_PURE;



More information about the tor-commits mailing list