Bug - sent messages counted twice in SMSC AT2 driver.

"Paul Keogh" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
In the function at2_send_one_message()/smsc_at2.c, the lines

            counter_increase(privdata->conn->sent);
            bb_smscconn_sent(privdata->conn, msg);

increment the sent messages counter twice because bb_smscconn_sent()
also does;

    counter_increase(outgoing_sms_counter);
    if (conn) counter_increase(conn->sent);

Thus, conn->sent is incremented twice. The counter_increase() in the
AT2 driver should be removed.

Paul Keogh
ANAM Wireless Internet Solutions
http://www.anam.com                     
+353 1 284 7555 (wired)               +353 86 234 6047 (wireless)
Castle Yard, Saint Patrick's Road, Dalkey, County Dublin, Ireland
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.