tm: warnings and avp param init. fixes
authorAndrei Pelinescu-Onciul <andrei@iptel.org>
Thu, 26 Aug 2010 19:33:45 +0000 (21:33 +0200)
committerAndrei Pelinescu-Onciul <andrei@iptel.org>
Thu, 26 Aug 2010 20:00:01 +0000 (22:00 +0200)
commitff78f8722f20c68f2614788c55300581819a04b0
treee05780043c46a58016ff379753d7f9e22acda329
parentb3c6ac1339901e83fcec6f689c0f007f69a101b4
tm: warnings and avp param init. fixes

- wrong pointer was passed to pv_get_avp_name(): int instead of
  unsigned short ( => not the whole int was set and problems on
  big endian archs).
- unneeded pointer casts removed
- variables declared at the function start (otherwise older
  compilers won't work)
modules/tm/t_funcs.c
modules/tm/t_msgbuilder.c
modules/tm/t_reply.c