aboutsummaryrefslogtreecommitdiffstats
path: root/main/callerid.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-18 18:03:06 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-18 18:03:06 +0000
commit1b556f00bb0b3b4b247a13742bba2b690a45bf91 (patch)
tree7b75c4c8f28d0f293e742357128e96651f44a6f2 /main/callerid.c
parentc80bbab204a869376dfe220188e8f66100aff73d (diff)
Merged revisions 114257 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114257 | mmichelson | 2008-04-18 12:44:29 -0500 (Fri, 18 Apr 2008) | 6 lines Clearing up error messages so they make a bit more sense. Also removing a redundant error message. Issue AST-15 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114259 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/callerid.c')
-rw-r--r--main/callerid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/callerid.c b/main/callerid.c
index 03e9c44f1..4dd290e5a 100644
--- a/main/callerid.c
+++ b/main/callerid.c
@@ -302,7 +302,7 @@ int callerid_feed_jp(struct callerid_state *cid, unsigned char *ubuf, int len, i
res = fsk_serial(&cid->fskd, buf, &mylen, &b);
if (mylen < 0) {
- ast_log(LOG_ERROR, "fsk_serial made mylen < 0 (%d)\n", mylen);
+ ast_log(LOG_ERROR, "No start bit found in fsk data.\n");
return -1;
}
@@ -537,7 +537,7 @@ int callerid_feed(struct callerid_state *cid, unsigned char *ubuf, int len, int
olen = mylen;
res = fsk_serial(&cid->fskd, buf, &mylen, &b);
if (mylen < 0) {
- ast_log(LOG_ERROR, "fsk_serial made mylen < 0 (%d)\n", mylen);
+ ast_log(LOG_ERROR, "No start bit found in fsk data.\n");
return -1;
}
buf += (olen - mylen);