Cosmetic change: Simplify error checking
authorHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 13 May 2015 23:04:23 +0000 (01:04 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 13 May 2015 23:04:23 +0000 (01:04 +0200)
commit6efce7f7062a6a1e16dfd0411ae9f93a593f632c
treedc1ea1d3e847d672b7a749393b32335073520f33
parent42c7205739f68757c9c5fead70faeb9add7df48a
Cosmetic change: Simplify error checking

Let send_stanza_and_ack_req/2 update the #state instead of propagating
the value returned by send_element/2.  This doesn't change the behavior.
src/ejabberd_c2s.erl