jmcastagnetto Fri Mar 16 17:11:54 2001 EDT
Modified files:
/phpdoc/en/functions nis.xml
Log:
Modified yp_next example, it was still using the inexistent yp_err* functions
Index: phpdoc/en/functions/nis.xml
diff -u phpdoc/en/functions/nis.xml:1.7 phpdoc/en/functions/nis.xml:1.8
--- phpdoc/en/functions/nis.xml:1.7 Fri Nov 17 18:01:36 2000
+++ phpdoc/en/functions/nis.xml Fri Mar 16 17:11:54 2001
@@ -256,7 +256,8 @@
$entry = yp_next ($domain, "passwd.byname", "joe");
if (!$entry) {
- echo yp_errno() . ": " . yp_err_string();
+ echo "No more entries found\n";
+ <!-- echo yp_errno() . ": " . yp_err_string(); -->
}
$key = key ($entry);