- remove an unnecessary cast and recomputation of (timeout - now);
authorLuigi Rizzo <rizzo@icir.org>
Tue, 28 Mar 2006 15:19:32 +0000 (15:19 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Tue, 28 Mar 2006 15:19:32 +0000 (15:19 +0000)
commitd0bc6c20a70c0da3dee48a2ad1a9acb25fc668fc
tree22f3cba122cd4cf258654e0416d145a83a4eafb6
parent387d37469d2a80f87c583876cbcc2f9a943e5918
- remove an unnecessary cast and recomputation of (timeout - now);
- remove useless recomputations of strlen(word) in a loop, and
  normalize the form of complete_peer_helper();
- move LOCAL_USER_ADD() to after the verification of arguments,
  thus removing the need for one LOCAL_USER_REMOVE() call.

The three chunks of the patch are fully disjoint.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
pbx/pbx_dundi.c