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-55


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-558-g9692ec8
Date: Sat, 11 Jan 2014 14:54:13 +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  9692ec8229dbc02d0aa509e7e269a5e2d7b4aaea (commit)
      from  67758ec4eb4ab4ca560448e9d7d42120ea737d30 (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=9692ec8229dbc02d0aa509e7e269a5e2d7b4aaea


commit 9692ec8229dbc02d0aa509e7e269a5e2d7b4aaea
Author: Daniele Forsi <address@hidden>
Date:   Sat Jan 11 15:50:53 2014 +0100

    Remove ambiguity in debug messages about sub-subtypes

diff --git a/common/phones/nk6510.c b/common/phones/nk6510.c
index 853de98..1476801 100644
--- a/common/phones/nk6510.c
+++ b/common/phones/nk6510.c
@@ -922,7 +922,7 @@ static gn_error NK6510_IncomingFolder(int messagetype, 
unsigned char *message, i
                        dprintf("SMS saving failed: Incorrect folder\n");
                        return GN_ERR_INVALIDMEMORYTYPE;
                default:
-                       dprintf("%s: Unknown sub-subtype 0x%02x\n", 
__FUNCTION__, message[4]);
+                       dprintf("%s: Unknown sub-subtype 0x%02x of subtype 
0x%02x\n", __FUNCTION__, message[4], message[3]);
                        return GN_ERR_UNHANDLEDFRAME;
                }
                break;
@@ -968,7 +968,7 @@ static gn_error NK6510_IncomingFolder(int messagetype, 
unsigned char *message, i
                        dprintf("SMS saving failed: Incorrect folder\n");
                        return GN_ERR_INVALIDLOCATION;
                default:
-                       dprintf("%s: Unknown sub-subtype 0x%02x\n", 
__FUNCTION__, message[4]);
+                       dprintf("%s: Unknown sub-subtype 0x%02x of subtype 
0x%02x\n", __FUNCTION__, message[4], message[3]);
                        return GN_ERR_UNHANDLEDFRAME;
                }
                break;
@@ -980,7 +980,7 @@ static gn_error NK6510_IncomingFolder(int messagetype, 
unsigned char *message, i
                        dprintf("Invalid location\n");
                        return GN_ERR_INVALIDLOCATION;
                default:
-                       dprintf("%s: Unknown sub-subtype 0x%02x\n", 
__FUNCTION__, message[4]);
+                       dprintf("%s: Unknown sub-subtype 0x%02x of subtype 
0x%02x\n", __FUNCTION__, message[4], message[3]);
                        return GN_ERR_UNHANDLEDFRAME;
                }
 
@@ -1070,7 +1070,7 @@ static gn_error NK6510_IncomingFolder(int messagetype, 
unsigned char *message, i
                        break;
                default:
                        dprintf("Failed to create SMS Folder! Reason unknown 
(0x%02x)!\n", message[4]);
-                       dprintf("%s: Unknown sub-subtype 0x%02x\n", 
__FUNCTION__, message[4]);
+                       dprintf("%s: Unknown sub-subtype 0x%02x of subtype 
0x%02x\n", __FUNCTION__, message[4], message[3]);
                        return GN_ERR_UNKNOWN;
                        break;
                }
@@ -1120,7 +1120,7 @@ static gn_error NK6510_IncomingFolder(int messagetype, 
unsigned char *message, i
                        return GN_ERR_FAILED;
                default:
                        dprintf("SMS Folder could not be deleted! Reason 
unknown (0x%02x)\n", message[4]);
-                       dprintf("%s: Unknown sub-subtype 0x%02x\n", 
__FUNCTION__, message[4]);
+                       dprintf("%s: Unknown sub-subtype 0x%02x of subtype 
0x%02x\n", __FUNCTION__, message[4], message[3]);
                        return GN_ERR_FAILED;
                }
                break;
@@ -1879,7 +1879,7 @@ err:
                        e = GN_ERR_EMPTYLOCATION;
                        break;
                default:
-                       dprintf("%s: Unknown sub-subtype 0x%02x\n", 
__FUNCTION__, message[4]);
+                       dprintf("%s: Unknown sub-subtype 0x%02x of subtype 
0x%02x\n", __FUNCTION__, message[4], message[3]);
                        e = GN_ERR_UNHANDLEDFRAME;
                        break;
                }
@@ -2535,7 +2535,7 @@ static gn_error NK6510_IncomingFile(int messagetype, 
unsigned char *message, int
                case 0x01: /* OK */
                        break;
                default:
-                       dprintf("%s: Unknown sub-subtype 0x%02x\n", 
__FUNCTION__, message[4]);
+                       dprintf("%s: Unknown sub-subtype 0x%02x of subtype 
0x%02x\n", __FUNCTION__, message[4], message[3]);
                        error = GN_ERR_UNKNOWN;
                        goto out;
                }
@@ -4608,7 +4608,7 @@ static gn_error NK6510_IncomingRingtone(int messagetype, 
unsigned char *message,
                        dprintf("Ringtone too long. Max is 69 notes.\n");
                        return GN_ERR_ENTRYTOOLONG;
                default:
-                       dprintf("%s: Unknown sub-subtype 0x%02x\n", 
__FUNCTION__, message[4]);
+                       dprintf("%s: Unknown sub-subtype 0x%02x of subtype 
0x%02x\n", __FUNCTION__, message[4], message[3]);
                        return GN_ERR_UNHANDLEDFRAME;
                }
                break;
@@ -4816,7 +4816,7 @@ reply: 0x7a / 0x0036
                        return GN_ERR_NONE;
                        break;
                default:
-                       dprintf("Unknown sub-subtype of type 0x7a subtype 
0x03(%d)\n", message[4]);
+                       dprintf("%s: Unknown sub-subtype 0x%02x of subtype 
0x%02x\n", __FUNCTION__, message[4], message[3]);
                        return GN_ERR_UNHANDLEDFRAME;
                        break;
                }
@@ -4830,7 +4830,7 @@ reply: 0x7a / 0x0036
                        return GN_ERR_NONE;
                        break;
                default:
-                       dprintf("Unknown sub-subtype of type 0x7a subtype 0x05 
(%d)\n", message[4]);
+                       dprintf("%s: Unknown sub-subtype 0x%02x of subtype 
0x%02x\n", __FUNCTION__, message[4], message[3]);
                        return GN_ERR_UNHANDLEDFRAME;
                        break;
                }
@@ -5318,7 +5318,7 @@ static gn_error NK6510_IncomingSecurity(int messagetype, 
unsigned char *message,
                        data->security_code->type = GN_SCT_None;
                        break;
                default:
-                       dprintf("%s: Unknown sub-subtype 0x%02x\n", 
__FUNCTION__, message[4]);
+                       dprintf("%s: Unknown sub-subtype 0x%02x of subtype 
0x%02x\n", __FUNCTION__, message[4], message[3]);
                        return GN_ERR_UNHANDLEDFRAME;
                }
                break;
@@ -5853,7 +5853,7 @@ static gn_error NK6510_IncomingWAP(int messagetype, 
unsigned char *message, int
                        dprintf("Invalid or empty\n");
                        return GN_ERR_INVALIDLOCATION;
                default:
-                       dprintf("%s: Unknown sub-subtype 0x%02x\n", 
__FUNCTION__, message[4]);
+                       dprintf("%s: Unknown sub-subtype 0x%02x of subtype 
0x%02x\n", __FUNCTION__, message[4], message[3]);
                        return GN_ERR_UNHANDLEDFRAME;
                }
                break;

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

Summary of changes:
 common/phones/nk6510.c |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

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