X-Git-Url: http://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=gnokii%2Fgnokii.c;fp=gnokii%2Fgnokii.c;h=23b75ebad366fb743750465febc4302141921842;hp=64a8934320bf80182bc0bfa7acbcd8b758020b37;hb=3ffd063073b4fe33d61c74b767c93833dc5bd8e5;hpb=7fe9e12e4451190f8ca2543a98de9abd4f9b8958 diff --git a/gnokii/gnokii.c b/gnokii/gnokii.c index 64a8934..23b75eb 100644 --- a/gnokii/gnokii.c +++ b/gnokii/gnokii.c @@ -19,8 +19,11 @@ really powerful and useful :-) $Log$ - Revision 1.1.1.1 2001/11/25 21:59:18 short - :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001 + Revision 1.1.1.2 2001/11/27 22:01:25 short + :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Tue Nov 27 22:58 CET 2001 + + Revision 1.152 2001/11/27 12:23:11 pkot + Specifying SMSC number in --sendsms works again Revision 1.151 2001/11/22 17:56:53 pkot smslib update. sms sending @@ -843,6 +846,8 @@ int sendsms(int argc, char *argv[]) case '1': /* SMSC number */ SMS.MessageCenter.No = 0; strcpy(SMS.MessageCenter.Number, optarg); + if (SMS.MessageCenter.Number[0] == '+') SMS.MessageCenter.Type = SMS_International; + else SMS.MessageCenter.Type = SMS_Unknown; break; case '2': /* SMSC number index in phone memory */ SMS.MessageCenter.No = atoi(optarg);