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 5a3a78ef899ba3531d00a3e7b0a8f386cd7f600d..d89fe65274a745c79e7a6bb5f060c16ea1255a72 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 */