gnokii-users
[Top][All Lists]
Advanced

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

gsm-error fix (patch)


From: Osma Suominen
Subject: gsm-error fix (patch)
Date: Mon, 17 Feb 2003 17:39:54 +0200 (EET)

Hello,

I noticed that GN_ERR_INVALIDLOCATION is incorrectly reported as
"The given memory location is empty.", even though there is a different
error code (GN_ER_EMPTYLOCATION) for that. So here's a fix.

-Osma


--- common/gsm-error.c  1 Jan 2003 21:29:05 -0000       1.15
+++ common/gsm-error.c  17 Feb 2003 15:35:41 -0000
@@ -51,7 +51,7 @@
        case GN_ERR_WAITING:               return "Waiting for the next part of 
the message.";
        case GN_ERR_NOTREADY:              return "Device not ready.";
        case GN_ERR_BUSY:                  return "Command is still being 
executed.";
-       case GN_ERR_INVALIDLOCATION:       return "The given memory location is 
empty.";
+       case GN_ERR_INVALIDLOCATION:       return "The given memory location is 
invalid.";
        case GN_ERR_INVALIDMEMORYTYPE:     return "Invalid type of memory.";
        case GN_ERR_EMPTYLOCATION:         return "The given location is 
empty.";
        case GN_ERR_ENTRYTOOLONG:          return "The given entry is too long";

-- 
*** Osma Suominen *** address@hidden *** http://www.iki.fi/ozone/ ***




reply via email to

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