svn commit: samba r23556 - in branches: SAMBA_3_0/source/nmbd SAMBA_3_0_25/source/nmbd SAMBA_3_0_26/source/nmbd

jra at samba.org jra at samba.org
Wed Jun 20 23:24:19 GMT 2007


Author: jra
Date: 2007-06-20 23:24:18 +0000 (Wed, 20 Jun 2007)
New Revision: 23556

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23556

Log:
Fix for error path from Atsushi Nakabayashi <nakabayashi at miraclelinux.com>.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/nmbd/nmbd_winsserver.c
   branches/SAMBA_3_0_25/source/nmbd/nmbd_winsserver.c
   branches/SAMBA_3_0_26/source/nmbd/nmbd_winsserver.c


Changeset:
Modified: branches/SAMBA_3_0/source/nmbd/nmbd_winsserver.c
===================================================================
--- branches/SAMBA_3_0/source/nmbd/nmbd_winsserver.c	2007-06-20 18:05:48 UTC (rev 23555)
+++ branches/SAMBA_3_0/source/nmbd/nmbd_winsserver.c	2007-06-20 23:24:18 UTC (rev 23556)
@@ -2333,6 +2333,7 @@
 		if (tdb_reopen(wins_tdb)) {
 			DEBUG(0,("wins_write_database: tdb_reopen failed. Error was %s\n",
 				strerror(errno)));
+			_exit(0);
 			return;
 		}
 	}

Modified: branches/SAMBA_3_0_25/source/nmbd/nmbd_winsserver.c
===================================================================
--- branches/SAMBA_3_0_25/source/nmbd/nmbd_winsserver.c	2007-06-20 18:05:48 UTC (rev 23555)
+++ branches/SAMBA_3_0_25/source/nmbd/nmbd_winsserver.c	2007-06-20 23:24:18 UTC (rev 23556)
@@ -2333,6 +2333,7 @@
 		if (tdb_reopen(wins_tdb)) {
 			DEBUG(0,("wins_write_database: tdb_reopen failed. Error was %s\n",
 				strerror(errno)));
+			_exit(0);
 			return;
 		}
 	}

Modified: branches/SAMBA_3_0_26/source/nmbd/nmbd_winsserver.c
===================================================================
--- branches/SAMBA_3_0_26/source/nmbd/nmbd_winsserver.c	2007-06-20 18:05:48 UTC (rev 23555)
+++ branches/SAMBA_3_0_26/source/nmbd/nmbd_winsserver.c	2007-06-20 23:24:18 UTC (rev 23556)
@@ -2333,6 +2333,7 @@
 		if (tdb_reopen(wins_tdb)) {
 			DEBUG(0,("wins_write_database: tdb_reopen failed. Error was %s\n",
 				strerror(errno)));
+			_exit(0);
 			return;
 		}
 	}



More information about the samba-cvs mailing list