mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Oops; make sure that break; and continue; work within SMARTLIST_FOREACH
svn:r2532
This commit is contained in:
parent
99f7955372
commit
f359389866
@ -154,7 +154,7 @@ char *smartlist_join_strings(smartlist_t *sl, const char *join, int terminate);
|
||||
for(var ## _sl_idx = 0; var ## _sl_idx < var ## _sl_len; \
|
||||
++var ## _sl_idx) { \
|
||||
var = smartlist_get((sl),var ## _sl_idx); \
|
||||
do {cmd;} while(0); \
|
||||
cmd; \
|
||||
} } while (0)
|
||||
|
||||
/* Map from const char * to void*. Implemented with a splay tree. */
|
||||
|
Loading…
Reference in New Issue
Block a user