gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-13


From: Pawel Kot
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-131-gc563bb9
Date: Thu, 27 Jan 2011 12:10:10 +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  c563bb984165620365e547b0c983f756e7461dff (commit)
      from  9a4037b41fc29ca1037f80374d229300b0f5f087 (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=c563bb984165620365e547b0c983f756e7461dff


commit c563bb984165620365e547b0c983f756e7461dff
Author: Pawel Kot <address@hidden>
Date:   Thu Jan 27 04:09:38 2011 -0800

    Fix incorrect encoding of international numbers caused by 
8c58724c842cf4c042b2cc060d77958ae34a8d58.

diff --git a/common/gsm-encoding.c b/common/gsm-encoding.c
index 630c0da..2949eff 100644
--- a/common/gsm-encoding.c
+++ b/common/gsm-encoding.c
@@ -1081,12 +1081,13 @@ int char_semi_octet_pack(char *number, unsigned char 
*output, gn_gsm_number_type
 
        *out_num++ = type;
 
+       
        if (((type & GN_GSM_NUMBER_Type_Mask) & 
GN_GSM_NUMBER_Alphanumeric_Mask) == GN_GSM_NUMBER_Alphanumeric_Mask) {
                count = strlen(number);
                return 2 * char_7bit_pack(0, number, out_num, &count);
        }
 
-       if (((((type & GN_GSM_NUMBER_Type_Mask) & 
GN_GSM_NUMBER_International_Mask) == GN_GSM_NUMBER_International) ||
+       if ((((type & GN_GSM_NUMBER_International_Mask) == 
GN_GSM_NUMBER_International_Mask) ||
                (type & GN_GSM_NUMBER_Type_Mask) == 0) && /* Unknown */
                *in_num == '+')
                in_num++; /* skip leading '+' */

-----------------------------------------------------------------------

Summary of changes:
 common/gsm-encoding.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]