r12485: r12044@cabra: derrell | 2005-12-25 16:46:47 -0500
commit85e4cab1d949f1ab9ce04b96de0b8d1c8113df67
authorDerrell Lipman <derrell@samba.org>
Sun, 25 Dec 2005 21:46:58 +0000 (25 21:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:05:58 +0000 (10 11:05 -0500)
treecd55f1d891dab6a2743279c1e9abf355ee12ff7e
parentdd39a37f8e6ab7dad46b180959636f5e402c136d
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.)
source/libsmb/libsmbclient.c