summaryrefslogtreecommitdiffstats
path: root/source/lib/replace.c
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2005-12-25 21:46:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:58 -0500
commit85e4cab1d949f1ab9ce04b96de0b8d1c8113df67 (patch)
treecd55f1d891dab6a2743279c1e9abf355ee12ff7e /source/lib/replace.c
parentdd39a37f8e6ab7dad46b180959636f5e402c136d (diff)
downloadsamba-85e4cab1d949f1ab9ce04b96de0b8d1c8113df67.tar.gz
samba-85e4cab1d949f1ab9ce04b96de0b8d1c8113df67.tar.xz
samba-85e4cab1d949f1ab9ce04b96de0b8d1c8113df67.zip
r12485: r12044@cabra: derrell | 2005-12-25 16:46:47 -0500
When enumerating what could be a server name or a workgroup name, first check for an existing server structure. If none exists, then go through the previous determination of whether it's a serrver or a workgroup. This should avoid doing a NetBIOS name query each time, if we've already connected to the specified server. (While we're at it, clean up indenting and line length in this area of code.)
Diffstat (limited to 'source/lib/replace.c')
0 files changed, 0 insertions, 0 deletions