cat and puste errors
This commit is contained in:
parent
3696c524a4
commit
1abda0fb12
|
@ -294,9 +294,12 @@ nis_maplist ()
|
|||
CLIENT *cl, *clnt_create();
|
||||
char *server = "";
|
||||
int mapi = 0;
|
||||
int err;
|
||||
|
||||
if ((err = yp_get_default_domain (&dom)) != 0)
|
||||
return nis_error(err);
|
||||
if ((err = yp_get_default_domain (&dom)) != 0) {
|
||||
nis_error(err);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
while (!strcmp("", server) && aliases[mapi].map != 0L) {
|
||||
yp_master (dom, aliases[mapi].map, &server);
|
||||
|
|
Loading…
Reference in New Issue