Fixes to dribble mode test as per suggestions
authorRohan Garg <rohangarg@kubuntu.org>
Thu, 3 May 2012 20:53:21 +0000 (02:23 +0530)
committerRohan Garg <rohangarg@kubuntu.org>
Thu, 3 May 2012 20:53:21 +0000 (02:23 +0530)
commit6e6a3a0ec32f2a31dfa1c4aa2a80f2b9303a0c83
tree3e856827799486f874c6cc42bf0cb00ed01b3f72
parent1405c4c29a00fca15ceed00ada5d9861c58bbe99
Fixes to dribble mode test as per suggestions

- Use LEFT_AGENT and RIGHT_AGENT instead of calling GINT_TO_POINTER everytime
- Add padding (0's in our case) before the actual payload and make sure the
  reciever checks for this padding. This ensures no STUN packets got through
- Free GSList's properly in cb_agent_new_candidate
- Use proper calls to g_signal_handlers_disconnect_by_func
tests/test-new-dribble.c