mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
Misc code fixes (bug #2762)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -82,10 +82,10 @@ static void *autodial(void *ignore)
|
||||
fds[0].events = POLLIN;
|
||||
poll(fds, 1, -1);
|
||||
bytes=read(fd,buf,256);
|
||||
buf[(int)bytes]=0;
|
||||
|
||||
if(bytes>0){
|
||||
int x;
|
||||
buf[(int)bytes]=0;
|
||||
ast_log(LOG_DEBUG, "WilCalu : Read Buf %s\n",buf);
|
||||
sendbufptr=sendbuf;
|
||||
for(x=0; lastbuf[x]!=0 && x<257; x++);
|
||||
|
Reference in New Issue
Block a user