mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
automerge commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@37432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -354,9 +354,6 @@ int ast_modem_expect(struct ast_modem_pvt *p, char *result, int timeout)
|
||||
}
|
||||
/* Read a response */
|
||||
fgets(p->response, sizeof(p->response), p->f);
|
||||
#if 0
|
||||
fprintf(stderr, "Modem said: %s", p->response);
|
||||
#endif
|
||||
if (!strncasecmp(p->response, result, strlen(result)))
|
||||
return 0;
|
||||
} while(timeout > 0);
|
||||
|
Reference in New Issue
Block a user