]> code.delx.au - pulseaudio/commit
native: Use foreach to iterate trough modules.
authorpoljar <poljarinho@gmail.com>
Mon, 21 May 2012 19:42:20 +0000 (21:42 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 23 May 2012 03:34:25 +0000 (06:34 +0300)
commit4c65e58325fabde724eb340da6ce2c9988e45871
tree311d8f8cb983e660e41629e2fcdfe467a1098381
parent21b1d92b793b0c6d987ccd10ec80805cb5246155
native: Use foreach to iterate trough modules.

The PA_IDXSET_FOREACH is easier to read than the standard for loop.
Also pa_streq() should be used for checking string equality.
src/pulsecore/protocol-native.c