[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-33
From: |
Pawel Kot |
Subject: |
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-333-g25afded |
Date: |
Tue, 20 Dec 2011 16:05:25 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".
The branch, master has been updated
via 25afdedf8594133153857dddabb5146075a73fed (commit)
from c91ceb57d60d64b9c10c3d0e648c60dee26e80ef (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=25afdedf8594133153857dddabb5146075a73fed
commit 25afdedf8594133153857dddabb5146075a73fed
Author: Pawel Kot <address@hidden>
Date: Tue Dec 20 17:02:43 2011 +0100
Properly handle phones that do not support SMSC information in PDU SMS
When we detect while reading sms that it does not support SMSC information
within PDU SMS, make this setting permanent (as per current run) and print
out the informative message.
Applications like smsd, xgnokii, gnocky, gnome-phone-manager will be
beneficients of this change.
diff --git a/common/phones/atgen.c b/common/phones/atgen.c
index 34db989..607eae5 100644
--- a/common/phones/atgen.c
+++ b/common/phones/atgen.c
@@ -2511,8 +2511,14 @@ static gn_error ReplyGetSMS(int messagetype, unsigned
char *buffer, int length,
ret = gn_sms_pdu2raw(data->raw_sms, tmp, sms_len,
GN_SMS_PDU_NOSMSC);
} else {
ret = gn_sms_pdu2raw(data->raw_sms, tmp, sms_len,
GN_SMS_PDU_DEFAULT);
- if (ret == GN_ERR_INTERNALERROR)
+ if (ret == GN_ERR_INTERNALERROR) {
ret = gn_sms_pdu2raw(data->raw_sms, tmp, sms_len,
GN_SMS_PDU_NOSMSC);
+ if (ret == GN_ERR_NONE) {
+ dprintf("Detected phone that must not have SMSC
information in PDU SMS.\n");
+ dprintf("Report to gnokii-ml <address@hidden>
your phone information as\nprinted by gnokii --identify\n");
+ drvinst->no_smsc = 1;
+ }
+ }
}
free(tmp);
-----------------------------------------------------------------------
Summary of changes:
common/phones/atgen.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
hooks/post-receive
--
libgnokii and core programs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-333-g25afded,
Pawel Kot <=