git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6da20cd
)
Try to bring libsmbclient in line with the new global_myname stuff
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 13 Nov 2002 06:38:33 +0000
(06:38 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 13 Nov 2002 06:38:33 +0000
(06:38 +0000)
source/libsmb/libsmbclient.c
patch
|
blob
|
history
diff --git
a/source/libsmb/libsmbclient.c
b/source/libsmb/libsmbclient.c
index dd46749a5a9386bb1f6310a26aafed67fa684e80..edf582b34d966ee8ccbeadedf5de1226600c8c50 100644
(file)
--- a/
source/libsmb/libsmbclient.c
+++ b/
source/libsmb/libsmbclient.c
@@
-46,7
+46,6
@@
static int DLIST_CONTAINS(SMBCFILE * list, SMBCFILE *p) {
}
extern BOOL in_client;
-extern pstring global_myname;
/*
* Is the logging working / configfile read ?
@@
-2625,8
+2624,8
@@
SMBCCTX * smbc_init_context(SMBCCTX * context)
* We try to get our netbios name from the config. If that fails we fall
* back on constructing our netbios name from our hostname etc
*/
- if (global_myname) {
- context->netbios_name = strdup(global_myname);
+ if (global_myname
()
) {
+ context->netbios_name = strdup(global_myname
()
);
}
else {
/*