get type of callback right
authorAndrew Tridgell <tridge@samba.org>
Mon, 5 Oct 1998 03:53:25 +0000 (03:53 +0000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 5 Oct 1998 03:53:25 +0000 (03:53 +0000)
(This used to be commit 327eba774e5bb17a91f80617bd7359afe0c83f48)

source3/nmbd/nmbd_synclists.c

index b6f54dccec015be7450ba73e79a63c7c29a416a8..8dee5ca4f2a427abd30b2bfc357d5f46ae4148a1 100644 (file)
@@ -51,7 +51,7 @@ static FILE *fp;
 /*******************************************************************
   This is the NetServerEnum callback.
   ******************************************************************/
-static void callback(char *sname, uint32 stype, char *comment)
+static void callback(const char *sname, uint32 stype, const char *comment)
 {
        fprintf(fp,"\"%s\" %08X \"%s\"\n", sname, stype, comment);
 }