Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/libsmb/namecache.c

    r414 r740  
    2525
    2626#define NBTKEY_FMT  "NBT/%s#%02X"
    27 
    28 /**
    29  * Initialise namecache system. Function calls gencache
    30  * initialisation function to perform necessary actions
    31  *
    32  * @return true upon successful initialisation of the cache or
    33  *         false on failure
    34  **/
    35 
    36 bool namecache_enable(void)
    37 {
    38         /*
    39          * Check if name caching disabled by setting the name cache
    40          * timeout to zero.
    41          */
    42 
    43         if (lp_name_cache_timeout() == 0) {
    44                 DEBUG(5, ("namecache_enable: disabling netbios name cache\n"));
    45                 return False;
    46         }
    47 
    48         /* I leave it for now, though I don't think we really
    49          * need this (mimir, 27.09.2002) */
    50         DEBUG(5, ("namecache_enable: enabling netbios namecache, timeout %d "
    51                   "seconds\n", lp_name_cache_timeout()));
    52 
    53         return True;
    54 }
    5527
    5628/**
     
    189161                SAFE_FREE(key);
    190162                return False;
    191         } else {
    192                 DEBUG(5, ("name %s#%02X found.\n", name, name_type));
    193         }
     163        }
     164
     165        DEBUG(5, ("name %s#%02X found.\n", name, name_type));
    194166
    195167        /*
Note: See TracChangeset for help on using the changeset viewer.