[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix GE_SMSSENDOK
From: |
Pavel Machek |
Subject: |
Fix GE_SMSSENDOK |
Date: |
Thu, 18 Apr 2002 23:38:44 +0200 |
User-agent: |
Mutt/1.3.28i |
Hi!
This allows gradual killing of GE_SMSSENDOK. Okay to commit?
Pavel
Index: common/gsm-error.c
===================================================================
RCS file: /cvsroot/gnokii/gnokii/common/gsm-error.c,v
retrieving revision 1.7
diff -u -u -r1.7 gsm-error.c
--- common/gsm-error.c 28 Mar 2002 21:37:44 -0000 1.7
+++ common/gsm-error.c 18 Apr 2002 21:25:28 -0000
@@ -51,7 +51,6 @@
case GE_PHBOOKNAMETOOLONG: return "Phonebook name is too long.";
case GE_PHBOOKNUMBERTOOLONG: return "Phonebook number is too
long.";
case GE_PHBOOKWRITEFAILED: return "Phonebook write failed.";
- case GE_SMSSENDOK: return "SMS was send correctly.";
case GE_SMSSENDFAILED: return "SMS send fail.";
case GE_SMSWAITING: return "Waiting for the next part of
SMS.";
case GE_SMSTOOLONG: return "SMS message too long.";
Index: include/gsm-error.h
===================================================================
RCS file: /cvsroot/gnokii/gnokii/include/gsm-error.h,v
retrieving revision 1.7
diff -u -u -r1.7 gsm-error.h
--- include/gsm-error.h 28 Mar 2002 21:37:48 -0000 1.7
+++ include/gsm-error.h 18 Apr 2002 21:29:15 -0000
@@ -53,7 +53,7 @@
GE_PHBOOKNAMETOOLONG, /* 15. Phonebook name is too long. */
GE_PHBOOKNUMBERTOOLONG, /* 16. Phonebook number is too long. */
GE_PHBOOKWRITEFAILED, /* 17. Phonebook write failed. */
- GE_SMSSENDOK, /* 18. SMS was send correctly. */
+ GE_RESERVED_1, /* 18. SMS was send correctly. */
GE_SMSSENDFAILED, /* 19. SMS send fail. */
GE_SMSWAITING, /* 20. Waiting for the next part of SMS. */
GE_SMSTOOLONG, /* 21. SMS message too long. */
@@ -87,6 +87,8 @@
GE_UNHANDLEDFRAME, /* 43. The current frame isn't handled by the
incoming function */
GE_UNSOLICITED /* 44. Unsolicited message received. */
} GSM_Error;
+
+#define GE_SMSSENDOK GE_NONE
extern char *print_error(GSM_Error e);
--
(about SSSCA) "I don't say this lightly. However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa
- Fix GE_SMSSENDOK,
Pavel Machek <=