From 3af5da2e7c8e9490feebfe61ff5f6d0f4ded8d88 Mon Sep 17 00:00:00 2001 From: Derrell Lipman Date: Wed, 1 Mar 2006 01:48:33 +0000 Subject: r13763: r13223@cabra: derrell | 2006-02-28 20:48:23 -0500 Add the missing comment about needing to save the new share name. (This used to be commit bb3b15e631c8dae7aaea303be18e086d63ee16d6) --- source3/libsmb/libsmb_cache.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3/libsmb') diff --git a/source3/libsmb/libsmb_cache.c b/source3/libsmb/libsmb_cache.c index 14577146fd..4fa395399e 100644 --- a/source3/libsmb/libsmb_cache.c +++ b/source3/libsmb/libsmb_cache.c @@ -156,7 +156,11 @@ static SMBCSRV * smbc_get_cached_server(SMBCCTX * context, const char * server, continue; } - + /* + * Save the new share name. We've + * disconnected from the old share, and are + * about to connect to the new one. + */ SAFE_FREE(srv->share_name); srv->share_name = SMB_STRDUP(share); if (!srv->share_name) { -- cgit