Clearing up error messages so they make a bit more sense. Also removing a redundant error

message.

Issue AST-15



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@114257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2008-04-18 17:44:29 +00:00
parent de529ba5f7
commit f32e7af11a
2 changed files with 3 additions and 6 deletions

View File

@@ -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;
}