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-132-g6869e9b
Date: Thu, 27 Jan 2011 12:13:01 +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  6869e9b010f8059fbfb86065b4a267c9f832cb6d (commit)
      from  c563bb984165620365e547b0c983f756e7461dff (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=6869e9b010f8059fbfb86065b4a267c9f832cb6d


commit 6869e9b010f8059fbfb86065b4a267c9f832cb6d
Author: Pawel Kot <address@hidden>
Date:   Thu Jan 27 04:12:35 2011 -0800

    Whitespace and coding style edits.

diff --git a/common/gsm-encoding.c b/common/gsm-encoding.c
index 2949eff..445473a 100644
--- a/common/gsm-encoding.c
+++ b/common/gsm-encoding.c
@@ -1080,7 +1080,6 @@ int char_semi_octet_pack(char *number, unsigned char 
*output, gn_gsm_number_type
           only international, unknown and alphanumeric number. */
 
        *out_num++ = type;
-
        
        if (((type & GN_GSM_NUMBER_Type_Mask) & 
GN_GSM_NUMBER_Alphanumeric_Mask) == GN_GSM_NUMBER_Alphanumeric_Mask) {
                count = strlen(number);
diff --git a/common/gsm-sms.c b/common/gsm-sms.c
index 951c120..48471be 100644
--- a/common/gsm-sms.c
+++ b/common/gsm-sms.c
@@ -1627,7 +1627,8 @@ GNOKII_API gn_error gn_sms_send(gn_data *data, struct 
gn_statemachine *state)
        data->raw_sms->status = GN_SMS_Sent;
 
        data->raw_sms->message_center[0] = 
char_semi_octet_pack(data->sms->smsc.number, data->raw_sms->message_center + 1, 
data->sms->smsc.type);
-       if (data->raw_sms->message_center[0] % 2) 
data->raw_sms->message_center[0]++;
+       if (data->raw_sms->message_center[0] % 2)
+               data->raw_sms->message_center[0]++;
        if (data->raw_sms->message_center[0])
                data->raw_sms->message_center[0] = 
data->raw_sms->message_center[0] / 2 + 1;
 

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

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


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

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