diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-08-07 09:31:45 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-08-07 14:18:17 +0200 |
commit | c50a03e4e2c47b828f81f2e4dc214ec84d9cae63 (patch) | |
tree | 9b3a93b399215737652d57d3fdff350fe363ed9c /source3/smbd/conn.c | |
parent | dfae090c5d0c238f2c620d77edc6bb6cf1bb027b (diff) | |
download | samba-c50a03e4e2c47b828f81f2e4dc214ec84d9cae63.tar.gz |
s3:smbd: remove dirptr and dirpath from connection_struct
They're both only used in the context of a function,
so we can make them stack variables.
metze
Diffstat (limited to 'source3/smbd/conn.c')
-rw-r--r-- | source3/smbd/conn.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/conn.c b/source3/smbd/conn.c index da67db978bd..959fcd7754d 100644 --- a/source3/smbd/conn.c +++ b/source3/smbd/conn.c @@ -163,7 +163,6 @@ find_again: sconn->smb1.tcons.num_open++; - string_set(&conn->dirpath,""); string_set(&conn->connectpath,""); string_set(&conn->origpath,""); @@ -284,7 +283,6 @@ static void conn_free_internal(connection_struct *conn) free_namearray(conn->veto_oplock_list); free_namearray(conn->aio_write_behind_list); - string_free(&conn->dirpath); string_free(&conn->connectpath); string_free(&conn->origpath); |