mirror of
https://github.com/samba-team/samba.git
synced 2025-08-05 12:22:11 +03:00
r7882: Looks like a large patch - but what it actually does is make Samba
safe for using our headers and linking with C++ modules. Stops us
from using C++ reserved keywords in our code.
Jeremy
(This used to be commit 9506b8e145
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
8387af752f
commit
19ca97a70f
@ -46,7 +46,7 @@ struct smbc_server_cache {
|
||||
* Add a new connection to the server cache.
|
||||
* This function is only used if the external cache is not enabled
|
||||
*/
|
||||
static int smbc_add_cached_server(SMBCCTX * context, SMBCSRV * new,
|
||||
static int smbc_add_cached_server(SMBCCTX * context, SMBCSRV * newsrv,
|
||||
const char * server, const char * share,
|
||||
const char * workgroup, const char * username)
|
||||
{
|
||||
@ -60,7 +60,7 @@ static int smbc_add_cached_server(SMBCCTX * context, SMBCSRV * new,
|
||||
|
||||
ZERO_STRUCTP(srvcache);
|
||||
|
||||
srvcache->server = new;
|
||||
srvcache->server = newsrv;
|
||||
|
||||
srvcache->server_name = SMB_STRDUP(server);
|
||||
if (!srvcache->server_name) {
|
||||
|
Reference in New Issue
Block a user