summaryrefslogtreecommitdiff
path: root/source3/smbd/dosmode.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
commit44db82065acf46f3c35ac754974c983e168e3975 (patch)
tree08b1673bc58fc7722c18cf5fb5351322f98df33a /source3/smbd/dosmode.c
parentbd08ae25dccff147547cda7575e2171abeb2195f (diff)
downloadsamba-44db82065acf46f3c35ac754974c983e168e3975.tar.gz
samba-44db82065acf46f3c35ac754974c983e168e3975.tar.bz2
samba-44db82065acf46f3c35ac754974c983e168e3975.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.) (This used to be commit 85e4cab1d949f1ab9ce04b96de0b8d1c8113df67)
Diffstat (limited to 'source3/smbd/dosmode.c')
0 files changed, 0 insertions, 0 deletions