diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-18 17:44:29 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-18 17:44:29 +0000 |
commit | 346ef7714cd5635a96ee578308aba61537b37d88 (patch) | |
tree | 2bb59b4eeb26c76cd8e78a02de02585b9fbc1ff8 /main/callerid.c | |
parent | 3f4fd762de908647ea7c2a3321f48536113fbcad (diff) |
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/branches/1.4@114257 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/callerid.c')
-rw-r--r-- | main/callerid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/callerid.c b/main/callerid.c index 0ebee03e1..38789c790 100644 --- a/main/callerid.c +++ b/main/callerid.c @@ -305,7 +305,7 @@ int callerid_feed_jp(struct callerid_state *cid, unsigned char *ubuf, int len, i res = fsk_serie(&cid->fskd, buf, &mylen, &b); if (mylen < 0) { - ast_log(LOG_ERROR, "fsk_serie made mylen < 0 (%d)\n", mylen); + ast_log(LOG_ERROR, "No start bit found in fsk data.\n"); free(obuf); return -1; } @@ -561,7 +561,7 @@ int callerid_feed(struct callerid_state *cid, unsigned char *ubuf, int len, int olen = mylen; res = fsk_serie(&cid->fskd, buf, &mylen, &b); if (mylen < 0) { - ast_log(LOG_ERROR, "fsk_serie made mylen < 0 (%d)\n", mylen); + ast_log(LOG_ERROR, "No start bit found in fsk data.\n"); free(obuf); return -1; } |