head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2003.01.02.16.53.41; author swiergot; state dead; branches; next 1.1; 1.1 date 2002.12.25.23.25.45; author swiergot; state Exp; branches; next ; desc @@ 1.2 log @- Version 1.9.1d. - Removed the redefined patch as it's already been included in the official distribution. @ text @--- main.cc.orig 2002-12-02 10:26:37.000000000 +0100 +++ main.cc 2002-12-08 19:40:48.000000000 +0100 @@@@ -78,9 +78,9 @@@@ #define SMS_OK 0 #define SMS_TIMEOUT 3 -#define ERA 0 -#define PLUS 1 -#define IDEA 2 +#define ERA_GSM 0 +#define PLUS_GSM 1 +#define IDEA_GSM 2 #define FREE 3 #define ICQ 4 #define SUPERSMS 5 @@@@ -404,10 +404,10 @@@@ int ktora_siec(const char *nr) { if (!strcmp(nr, "000")) return TEST; - if (*nr == '5') return IDEA; + if (*nr == '5') return IDEA_GSM; if (*nr == '6') { - if ((nr[2] - '0') % 2) return PLUS; - else return ERA; + if ((nr[2] - '0') % 2) return PLUS_GSM; + else return ERA_GSM; } return -1; } @ 1.1 log @- Initial release. - Version 1.9.1. @ text @@ .