Remove old pre-TIRPC code for getting transport handles. The code that

follows spams over the contents of them making the removed code useless.
This commit is contained in:
Alfred Perlstein 2002-06-25 22:55:53 +00:00
parent 6395da5437
commit 7b9136e8ea
2 changed files with 0 additions and 10 deletions

View File

@ -381,11 +381,6 @@ main(argc, argv)
exit(1);
}
}
if ((udptransp = svcudp_create(RPC_ANYSOCK)) == NULL ||
(tcptransp = svctcp_create(RPC_ANYSOCK, 0, 0)) == NULL) {
syslog(LOG_ERR, "can't create socket");
exit(1);
}
if (udpsock != -1 && udpconf != NULL) {
bindresvport(udpsock, NULL);
udptransp = svc_dg_create(udpsock, 0, 0);

View File

@ -381,11 +381,6 @@ main(argc, argv)
exit(1);
}
}
if ((udptransp = svcudp_create(RPC_ANYSOCK)) == NULL ||
(tcptransp = svctcp_create(RPC_ANYSOCK, 0, 0)) == NULL) {
syslog(LOG_ERR, "can't create socket");
exit(1);
}
if (udpsock != -1 && udpconf != NULL) {
bindresvport(udpsock, NULL);
udptransp = svc_dg_create(udpsock, 0, 0);