change first protocol letter multiple comparisons to strpbrk; this makes code
more readable and could increase some performance
change order of checks in whole command comparisons; NTFY is the most frequent
message so this will reduce memcmp calls - increase performance
change search for MGCP string inside packet; code more readable and without
using extra variables and loops probably faster (depend on implementation of
strstr)
Original issue reported on code.google.com by mpasin...@gmail.com on 22 Oct 2012 at 6:15
Original issue reported on code.google.com by
mpasin...@gmail.com
on 22 Oct 2012 at 6:15Attachments: