tor/src/or
Nick Mathewson 7faf115dff Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END
The SMARTLIST_FOREACH macro is more convenient than BEGIN/END when
you have a nice short loop body, but using it for long bodies makes
your preprocessor tell the compiler that all the code is on the same
line.  That causes grief, since compiler warnings and debugger lines
will all refer to that one line.

So, here's a new style rule: SMARTLIST_FOREACH blocks need to be
short.
2012-07-17 10:34:08 -04:00
..
buffers.c Triage the XXX023 and XXX022 comments: postpone many. 2012-06-15 15:07:52 -04:00
buffers.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
circuitbuild.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
circuitbuild.h Merge remote-tracking branch 'asn-mytor/bug5589_take2' 2012-06-14 13:05:16 -04:00
circuitlist.c Triage the XXX023 and XXX022 comments: postpone many. 2012-06-15 15:07:52 -04:00
circuitlist.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
circuituse.c Triage the XXX023 and XXX022 comments: postpone many. 2012-06-15 15:07:52 -04:00
circuituse.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
command.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
command.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
config_codedigest.c Resolve about 24 DOCDOCs 2012-06-05 00:17:54 -04:00
config.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
config.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
connection_edge.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
connection_edge.h Merge remote-tracking branch 'public/bug3940_redux' 2012-06-13 11:40:38 -04:00
connection_or.c Triage the XXX023 and XXX022 comments: postpone many. 2012-06-15 15:07:52 -04:00
connection_or.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
connection.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
connection.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
control.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
control.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
cpuworker.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
cpuworker.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
directory.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
directory.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
dirserv.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
dirserv.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
dirvote.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
dirvote.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
dns.c Downgrade an eventdns warning to PROTOCOL_WARN. 2012-06-07 13:03:39 -04:00
dns.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
dnsserv.c Triage the XXX023 and XXX022 comments: postpone many. 2012-06-15 15:07:52 -04:00
dnsserv.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
eventdns_tor.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
eventdns.c Be more careful calling wcstombs 2012-06-07 11:09:38 -04:00
eventdns.h Use the standard _WIN32, not the Torism MS_WINDOWS or deprecated WIN32 2012-01-31 15:48:47 -05:00
geoip.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
geoip.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
hibernate.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
hibernate.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
main.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
main.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
Makefile.am Merge remote-tracking branch 'origin/maint-0.2.2' 2012-02-12 23:27:31 -05:00
Makefile.nmake Be a good git person: store nmakefiles in correct text fmt 2012-05-14 13:01:05 -04:00
microdesc.c Downgrade message about md cache cleaning from notice to info 2012-06-26 10:30:11 -04:00
microdesc.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
networkstatus.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
networkstatus.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
nodelist.c Catch a few more K&R violations with make check-spaces 2012-06-23 15:54:01 -04:00
nodelist.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
ntmain.c Be more careful calling wcstombs 2012-06-07 11:09:38 -04:00
ntmain.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
onion.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
onion.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
or.h Defend against entry node path bias attacks 2012-06-14 13:19:56 -07:00
policies.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
policies.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
reasons.c Merge remote-tracking branch 'public/bug4710' 2012-06-05 10:16:28 -04:00
reasons.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
relay.c Merge remote-tracking branch 'nickm/bug6271_part_a' into maint-0.2.3 2012-07-06 08:57:29 -04:00
relay.h Move tor_gettimeofday_cached() into compat_libevent 2012-06-15 15:07:53 -04:00
rendclient.c Triage the XXX023 and XXX022 comments: postpone many. 2012-06-15 15:07:52 -04:00
rendclient.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
rendcommon.c Resolve about 24 DOCDOCs 2012-06-05 00:17:54 -04:00
rendcommon.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
rendmid.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
rendmid.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
rendservice.c Merge remote-tracking branch 'public/bug3311' 2012-06-18 12:07:39 -04:00
rendservice.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
rephist.c Triage the XXX023 and XXX022 comments: postpone many. 2012-06-15 15:07:52 -04:00
rephist.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
router.c Merge remote-tracking branch 'public/bug4657' 2012-06-05 10:20:44 -04:00
router.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
routerlist.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
routerlist.h Resolve about 24 DOCDOCs 2012-06-05 00:17:54 -04:00
routerparse.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
routerparse.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
status.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
status.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
tor_main.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
transports.c Don't do DNS lookups when parsing corrupted managed proxy messages. 2012-06-25 13:19:22 -04:00
transports.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00