diff options
author | Jeremy Allison <jra@samba.org> | 2009-11-16 14:55:21 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-11-16 14:55:21 -0800 |
commit | a2a8dc515cca833c442cc3bb4cf90682e8ba147d (patch) | |
tree | a62ef7e79992aa7ff65f8f29fa17f8a667623989 /source3/include | |
parent | 5c54c73c0ec14e391cd58481249b1eda752d4798 (diff) | |
download | samba-a2a8dc515cca833c442cc3bb4cf90682e8ba147d.tar.gz samba-a2a8dc515cca833c442cc3bb4cf90682e8ba147d.tar.bz2 samba-a2a8dc515cca833c442cc3bb4cf90682e8ba147d.zip |
Don't overwrite a dynamic pointer with the address of a stack
variable.
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 86f6626a69..4e347d6ddb 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6333,7 +6333,7 @@ void delete_write_cache(files_struct *fsp); void set_filelen_write_cache(files_struct *fsp, SMB_OFF_T file_size); ssize_t flush_write_cache(files_struct *fsp, enum flush_reason_enum reason); NTSTATUS sync_file(connection_struct *conn, files_struct *fsp, bool write_through); -int fsp_stat(files_struct *fsp, SMB_STRUCT_STAT *pst); +int fsp_stat(files_struct *fsp); /* The following definitions come from smbd/filename.c */ |