diff options
author | Kai Blin <kai@samba.org> | 2008-05-12 11:53:23 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2008-05-20 14:27:08 +0200 |
commit | 16938883e6fcae7601eb6343177aa2d56dd2136e (patch) | |
tree | 5a67ad03e0a760a005458895a47ffe6abd440715 /source3/utils/net.c | |
parent | a84c7455ae11ffeef3fc35f2774bad634837a7b6 (diff) | |
download | samba-16938883e6fcae7601eb6343177aa2d56dd2136e.tar.gz samba-16938883e6fcae7601eb6343177aa2d56dd2136e.tar.bz2 samba-16938883e6fcae7601eb6343177aa2d56dd2136e.zip |
net: Use true/false instead of True/False.
(This used to be commit a8b567aac3b0e39cfe67fb97167b10312ca5e73a)
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r-- | source3/utils/net.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index db7f6c090c..477c354cb8 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -445,7 +445,7 @@ bool net_find_server(struct net_context *c, } if (!name_status_find(d, 0x1b, 0x20, &pdc_ss, dc_name)) { - return False; + return false; } *server_name = SMB_STRDUP(dc_name); @@ -484,10 +484,10 @@ bool net_find_server(struct net_context *c, if (!*server_name) { DEBUG(1,("no server to connect to\n")); - return False; + return false; } - return True; + return true; } bool net_find_pdc(struct sockaddr_storage *server_ss, @@ -672,7 +672,7 @@ static int net_getlocalsid(struct net_context *c, int argc, const char **argv) name = global_myname(); } - if(!initialize_password_db(False, NULL)) { + if(!initialize_password_db(false, NULL)) { DEBUG(0, ("WARNING: Could not open passdb - local sid may not reflect passdb\n" "backend knowledge (such as the sid stored in LDAP)\n")); } @@ -747,7 +747,7 @@ static int net_getdomainsid(struct net_context *c, int argc, const char **argv) return 1; } - if(!initialize_password_db(False, NULL)) { + if(!initialize_password_db(false, NULL)) { DEBUG(0, ("WARNING: Could not open passdb - domain SID may " "not reflect passdb\n" "backend knowledge (such as the SID stored in " @@ -875,14 +875,14 @@ static bool search_maxrid(struct pdb_search *search, const char *type, if (search == NULL) { d_fprintf(stderr, "get_maxrid: Could not search %s\n", type); - return False; + return false; } num_entries = pdb_search_entries(search, 0, 0xffffffff, &entries); for (i=0; i<num_entries; i++) *max_rid = MAX(*max_rid, entries[i].rid); pdb_search_destroy(search); - return True; + return true; } static uint32 get_maxrid(void) @@ -1080,7 +1080,7 @@ static struct functable net_func[] = { } break; case 'U': - c->opt_user_specified = True; + c->opt_user_specified = true; c->opt_user_name = SMB_STRDUP(c->opt_user_name); p = strchr(c->opt_user_name,'%'); if (p) { |