cosmetics
This commit is contained in:
parent
38a7629db4
commit
34f90ef5f3
|
@ -1,4 +1,4 @@
|
|||
V:1.03-Germany [16-Sep-1999 10:10:00]
|
||||
V:1.04-Germany [19-Sep-1999 16:33:00]
|
||||
|
||||
|
||||
N:Usbekistan
|
||||
|
@ -565,8 +565,8 @@ C:+49
|
|||
N:Deutschland Mobilfunk
|
||||
C:+491610,+491611,+491612,+491613,+491614,+491615,+491616,+491617,+491619 # C
|
||||
A:+491618 # T-C-Tel Voice Mail
|
||||
C:+49170,+49171 # D1
|
||||
C:+49172,+49173 # D2
|
||||
C:+49170,+49171,+49175 # D1
|
||||
C:+49172,+49173,+49174 # D2
|
||||
C:+49177,+49178 # Eplus
|
||||
C:+49176,+49179 # E2
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ W:7 Sonntag
|
|||
W:W Werktag
|
||||
W:E Wochenende
|
||||
W:H Feiertag
|
||||
W:* täglich
|
||||
|
||||
D:1.1 Neujahr
|
||||
D:6.1 Dreikönigstag
|
||||
|
|
|
@ -10,6 +10,7 @@ W:7 Sonntag
|
|||
W:W Werktag
|
||||
W:E Wochenende
|
||||
W:H Feiertag
|
||||
W:* täglich
|
||||
|
||||
D:1.1 Neujahr
|
||||
D:easter Ostersonntag
|
||||
|
|
|
@ -10,6 +10,7 @@ W:7 Sonntag
|
|||
W:W Werktag
|
||||
W:E Wochenende
|
||||
W:H Feiertag
|
||||
W:* täglich
|
||||
|
||||
D:1.1 Neujahr
|
||||
#D:6.1 Erscheinungsfest
|
||||
|
|
|
@ -10,6 +10,7 @@ W:7 zondag
|
|||
W:W werkdag
|
||||
W:E weekend
|
||||
W:H feestdag
|
||||
W:* everyday
|
||||
|
||||
D:1.1 nieuwjaarsdag
|
||||
D:easter-2 Goede Vrijdag
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: rate.c,v 1.45 1999/09/19 14:16:27 akool Exp $
|
||||
/* $Id: rate.c,v 1.46 1999/09/20 18:42:30 akool Exp $
|
||||
*
|
||||
* Tarifdatenbank
|
||||
*
|
||||
|
@ -19,6 +19,9 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
* $Log: rate.c,v $
|
||||
* Revision 1.46 1999/09/20 18:42:30 akool
|
||||
* cosmetics
|
||||
*
|
||||
* Revision 1.45 1999/09/19 14:16:27 akool
|
||||
* isdnlog-3.53
|
||||
*
|
||||
|
@ -1563,7 +1566,8 @@ int getZoneRate(RATE* Rate, int domestic, int first)
|
|||
found=0;
|
||||
if (z >= Provider[prefix].nZone)
|
||||
return -2;
|
||||
if (Provider[prefix].Zone[z].Domestic != domestic) {
|
||||
if (Provider[prefix].Zone[z].Domestic != domestic ||
|
||||
Provider[prefix].Zone[z].Number[0] == 0) {
|
||||
z++;
|
||||
continue;
|
||||
}
|
||||
|
@ -1609,6 +1613,12 @@ int getZoneRate(RATE* Rate, int domestic, int first)
|
|||
strcat(countries, area);
|
||||
olda=area;
|
||||
}
|
||||
else if(strcmp(Provider[prefix].Area[i].Code,"+")==0) {
|
||||
countries = realloc(countries,strlen(countries)+2);
|
||||
if(*countries)
|
||||
strcat(countries, ",");
|
||||
strcat(countries, "+");
|
||||
}
|
||||
else if(zone > z)
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue