diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 05:05:38 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 05:05:38 +0000 |
commit | 2ad6f3dee6bc54535003f4ab26bbc587b7efa38c (patch) | |
tree | a3959baf797787918878bec6d58d6a0fb743ad0a /gnu/libexec/uucp/contrib/dialHDB.c | |
parent | 4f960dd75f181e9fa2edc44324f15f0ab5c64b37 (diff) | |
download | FreeBSD-src-2ad6f3dee6bc54535003f4ab26bbc587b7efa38c.zip FreeBSD-src-2ad6f3dee6bc54535003f4ab26bbc587b7efa38c.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'gnu/libexec/uucp/contrib/dialHDB.c')
-rw-r--r-- | gnu/libexec/uucp/contrib/dialHDB.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/libexec/uucp/contrib/dialHDB.c b/gnu/libexec/uucp/contrib/dialHDB.c index cb26621..8650ff0 100644 --- a/gnu/libexec/uucp/contrib/dialHDB.c +++ b/gnu/libexec/uucp/contrib/dialHDB.c @@ -86,7 +86,7 @@ main(int argc,char *argv[]) int child; /* pid of child process */ int stat; /* exit status of child process */ char *temp; /* used to get basename of dialer */ - + if(argc!=5) { fprintf(stderr,kUsage,argv[0],argv[0]); @@ -95,9 +95,9 @@ main(int argc,char *argv[]) dialerPath=argv[1]; dialerName= (temp=strrchr(argv[1],'/'))!=NULL ? temp+1 : argv[1]; - + parent=getpid(); - + signal(SIGUSR1,badExec); /* set up for possible failed exec */ if((child=fork())<0) @@ -111,7 +111,7 @@ main(int argc,char *argv[]) signal(SIGHUP,SIG_IGN); signal(SIGINT,SIG_IGN); signal(SIGTERM,SIG_IGN); - + wait(&stat); /* wait for child to exit */ exit(figureStat(stat)); /* figure out our exit code and die */ } @@ -125,7 +125,7 @@ main(int argc,char *argv[]) kill(parent,SIGUSR1); exit(0); } - } + } exit(0); } @@ -136,7 +136,7 @@ int figureStat(int stat) int exit; int errFlag; int error; - + if(WIFSIGNALED(stat)) /* determine if exit was from signal or what */ { fprintf(stderr,"Error: Dialer %s recieved signal %d.\n",dialerName, |