Skip to content
Snippets Groups Projects
Commit f3593898 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Oops; make sure that break; and continue; work within SMARTLIST_FOREACH

svn:r2532
parent 99f79553
No related branches found
No related tags found
No related merge requests found
......@@ -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. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment