ypserv/ypserv-2.11-nomap.patch
cvsdist 50a0583328 auto-import changelog data from ypserv-2.11-1.src.rpm
Mon Jan 19 2004 Phil Knirsch <pknirsch@redhat.com> 2.11-1
- Updated to latest upstream version.
- Dropped ypserv-2.8-echild.patch (not needed anymore).
- Fixed several other patches for new version.
Mon Sep 15 2003 Steve Dickson <SteveD@RedHat.com>
- updated Release number for QU1
Mon Sep 15 2003 Steve Dickson <SteveD@RedHat.com>
- Recompiled for AS2.1
2004-09-09 15:21:19 +00:00

26 lines
676 B
Diff

--- ypserv-2.11/lib/access.c.nomap 2003-06-13 14:09:14.000000000 +0200
+++ ypserv-2.11/lib/access.c 2004-01-19 16:22:12.732217226 +0100
@@ -190,6 +190,8 @@
status = -1;
ypdb_close (dbp);
}
+ else
+ status = -4;
}
}
--- ypserv-2.11/ypserv/server.c.nomap 2003-08-15 10:55:05.000000000 +0200
+++ ypserv-2.11/ypserv/server.c 2004-01-19 16:05:10.347198033 +0100
@@ -177,6 +177,11 @@
log_msg ("\t-> Ignored (not a valid domain)");
result->stat = YP_NODOM;
break;
+ case -4:
+ if (debug_flag)
+ log_msg ("\t-> Ignored (map name not found)");
+ result->stat = YP_NOMAP;
+ break;
}
return TRUE;
}