aboutsummaryrefslogtreecommitdiffstats
path: root/main/callerid.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-04 23:04:29 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-04 23:04:29 +0000
commit832983e43a42ce1141e10d46a8cadd6e2ac48ba9 (patch)
tree36a818ef47a50925ad9a7269bc290cb079783e52 /main/callerid.c
parentde432dde0b34d49b4446f474a8786cd1c4641de8 (diff)
Whitespace changes only
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@105840 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/callerid.c')
-rw-r--r--main/callerid.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/main/callerid.c b/main/callerid.c
index c1d5e80b9..03e9c44f1 100644
--- a/main/callerid.c
+++ b/main/callerid.c
@@ -412,7 +412,7 @@ int callerid_feed_jp(struct callerid_state *cid, unsigned char *ubuf, int len, i
/* length */
x++;
/* number type */
- switch (cid->rawdata[x]) {
+ switch (cid->rawdata[x]) {
case 0x00: /* unknown */
case 0x01: /* international number */
case 0x02: /* domestic number */
@@ -451,8 +451,8 @@ int callerid_feed_jp(struct callerid_state *cid, unsigned char *ubuf, int len, i
case 'O': /* service not available */
case 'C': /* pay phone */
case 'S': /* service congested */
- cid->flags |= CID_UNKNOWN_NUMBER;
- ast_debug(2, "no cid reason:%c\n",cid->rawdata[x]);
+ cid->flags |= CID_UNKNOWN_NUMBER;
+ ast_debug(2, "no cid reason:%c\n", cid->rawdata[x]);
break ;
}
x++;
@@ -483,7 +483,7 @@ int callerid_feed_jp(struct callerid_state *cid, unsigned char *ubuf, int len, i
x++;
/* numbering plan octed 4 */
x++;
- /* numbering plan octed 5 */
+ /* numbering plan octed 5 */
switch (cid->rawdata[x]) {
case 0x00: /* unknown */
case 0x01: /* recommendation E.164 ISDN */
@@ -772,7 +772,7 @@ static int callerid_genmsg(char *msg, int size, const char *number, const char *
int vmwi_generate(unsigned char *buf, int active, int mdmf, int codec)
{
unsigned char msg[256];
- int len=0;
+ int len = 0;
int sum;
int x;
int bytes = 0;
@@ -834,7 +834,7 @@ int vmwi_generate(unsigned char *buf, int active, int mdmf, int codec)
int callerid_generate(unsigned char *buf, const char *number, const char *name, int flags, int callwaiting, int codec)
{
- int bytes=0;
+ int bytes = 0;
int x, sum;
int len;
@@ -881,7 +881,7 @@ int callerid_generate(unsigned char *buf, const char *number, const char *name,
*/
void ast_shrink_phone_number(char *n)
{
- int x, y=0;
+ int x, y = 0;
int bracketed = 0;
for (x = 0; n[x]; x++) {