Deleted Added
full compact
rpc_svcout.c (17142) rpc_svcout.c (38022)
1/*
2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
3 * unrestricted use provided that this legend is included on all tape
4 * media and as a part of the software program in whole or part. Users
5 * may copy or modify Sun RPC without charge, but are not authorized
6 * to license or distribute it to anyone else except as part of a product or
7 * program developed by the user.
8 *

--- 182 unchanged lines hidden (view full) ---

191 f_print(fout, "%s\tnconf = getnetconfigent(\"%s\");\n", sp, transp);
192 f_print(fout, "%s\tif (nconf == NULL) {\n", sp);
193 (void) sprintf(_errbuf, "cannot find %s netid.", transp);
194 sprintf(tmpbuf, "%s\t\t", sp);
195 print_err_message(tmpbuf);
196 f_print(fout, "%s\t\texit(1);\n", sp);
197 f_print(fout, "%s\t}\n", sp);
198 f_print(fout, "%s\t%s = svc_tli_create(RPC_ANYFD, nconf, 0, 0, 0);\n",
1/*
2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
3 * unrestricted use provided that this legend is included on all tape
4 * media and as a part of the software program in whole or part. Users
5 * may copy or modify Sun RPC without charge, but are not authorized
6 * to license or distribute it to anyone else except as part of a product or
7 * program developed by the user.
8 *

--- 182 unchanged lines hidden (view full) ---

191 f_print(fout, "%s\tnconf = getnetconfigent(\"%s\");\n", sp, transp);
192 f_print(fout, "%s\tif (nconf == NULL) {\n", sp);
193 (void) sprintf(_errbuf, "cannot find %s netid.", transp);
194 sprintf(tmpbuf, "%s\t\t", sp);
195 print_err_message(tmpbuf);
196 f_print(fout, "%s\t\texit(1);\n", sp);
197 f_print(fout, "%s\t}\n", sp);
198 f_print(fout, "%s\t%s = svc_tli_create(RPC_ANYFD, nconf, 0, 0, 0);\n",
199 sp, TRANSP, transp);
199 sp, TRANSP);
200 f_print(fout, "%s\tif (%s == NULL) {\n", sp, TRANSP);
201 (void) sprintf(_errbuf, "cannot create %s service.", transp);
202 print_err_message(tmpbuf);
203 f_print(fout, "%s\t\texit(1);\n", sp);
204 f_print(fout, "%s\t}\n", sp);
205
206 for (l = defined; l != NULL; l = l->next) {
207 def = (definition *) l->val;

--- 879 unchanged lines hidden ---
200 f_print(fout, "%s\tif (%s == NULL) {\n", sp, TRANSP);
201 (void) sprintf(_errbuf, "cannot create %s service.", transp);
202 print_err_message(tmpbuf);
203 f_print(fout, "%s\t\texit(1);\n", sp);
204 f_print(fout, "%s\t}\n", sp);
205
206 for (l = defined; l != NULL; l = l->next) {
207 def = (definition *) l->val;

--- 879 unchanged lines hidden ---