Commit: eff66b3ebbd72cf2d8732a476a79745c905c6641
Parent: a9544b8062e706f394d718880802359653e68952
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-02-18 09:59:34
Tree: 7a2076557109c9027c7d7b5b9882cb98feb9caa0

lib: Reuse identical code in sdp_get_{add,}_access_protos() sdp_get_access_protos() and sdp_get_add_access_protos() do almost exactly the same thing, except for an additional statement for the latter.

Diffstat

M lib/sdp.c | 34 ++++++++++++- - - - - - - - - - - - - - - - - - - - - -

1 files changed, 12 insertions(+), 22 deletions(-)

View Full Diff | Patch