RIP BOOL. Convert BOOL -> bool. I found a few interesting
[tprouty/samba.git] / source / nmbd / nmbd_serverlistdb.c
index ea27f9d4e5af26e29840ae44fb19f3c697218e89..5ac48883658b2f61d1c4f25b349a437afbb080aa 100644 (file)
@@ -7,7 +7,7 @@
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
@@ -16,8 +16,7 @@
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
 */
 
@@ -289,7 +288,7 @@ void write_browse_list_entry(XFILE *fp, const char *name, uint32 rec_type,
        x_fprintf(fp, "\"%s\"\n", description);
 }
 
-void write_browse_list(time_t t, BOOL force_write)
+void write_browse_list(time_t t, bool force_write)
 {   
        struct subnet_record *subrec;
        struct work_record *work;
@@ -298,7 +297,7 @@ void write_browse_list(time_t t, BOOL force_write)
        uint32 stype;
        int i;
        XFILE *fp;
-       BOOL list_changed = force_write;
+       bool list_changed = force_write;
        static time_t lasttime = 0;
     
        /* Always dump if we're being told to by a signal. */