Fix a segfault
authorvlendec <vlendec@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Wed, 3 Oct 2007 12:51:36 +0000 (12:51 +0000)
committervlendec <vlendec@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Wed, 3 Oct 2007 12:51:36 +0000 (12:51 +0000)
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25480 0c0555d6-39d7-0310-84fc-f1cc0bd64818

source/rpc_server/srv_srvsvc_nt.c

index 5a3a78e..d89fe65 100644 (file)
@@ -128,7 +128,7 @@ static void enum_file_fn( const struct share_mode_entry *e,
                          void *private_data )
 {
        struct file_enum_count *fenum =
-               (struct file_enum_count *)&private_data;
+               (struct file_enum_count *)private_data;
  
        /* If the pid was not found delete the entry from connections.tdb */