/[pengfork]/pengfork/src/modem/modem.c
ViewVC logotype

Diff of /pengfork/src/modem/modem.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by chupa, Mon Dec 2 15:57:12 2002 UTC revision 1.10 by chupa, Tue Dec 3 18:38:15 2002 UTC
# Line 33  Line 33 
33  #include <unistd.h>  #include <unistd.h>
34    
35  #include "gettext.h"  #include "gettext.h"
36    #include "common.h"
37  #include "log.h"  #include "log.h"
38  #include "modem/modem.h"  #include "modem/modem.h"
39  #include "modem/devlock.h"  #include "modem/devlock.h"
# Line 251  modem_dial () Line 252  modem_dial ()
252        break;        break;
253    if (i >= PARAM_MODEM_DIAL_RETRY)    if (i >= PARAM_MODEM_DIAL_RETRY)
254      {      {
255        log (LOG_ERR, gettext ("Too many failures, dialing process aborted.\n"));        if(status!=sexit)
256            log (LOG_ERR, gettext ("Too many failures, dialing process aborted.\n"));
257        return 0;        return 0;
258      }      }
259    return 1;    return 1;
# Line 265  modem_dial_to (phone) Line 267  modem_dial_to (phone)
267    char dialcmd[256];    char dialcmd[256];
268    char *speed, *p;    char *speed, *p;
269    
270    if (!phone)    if (!phone || status == sexit)
271      return 0;      return 0;
272    
273    log (LOG_INFO, gettext ("Dialing %s\n"), phone);    log (LOG_INFO, gettext ("Dialing %s\n"), phone);

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26