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_status.c | |
parent | a84c7455ae11ffeef3fc35f2774bad634837a7b6 (diff) | |
download | samba-16938883e6fcae7601eb6343177aa2d56dd2136e.tar.gz |
net: Use true/false instead of True/False.
(This used to be commit a8b567aac3b0e39cfe67fb97167b10312ca5e73a)
Diffstat (limited to 'source3/utils/net_status.c')
-rw-r--r-- | source3/utils/net_status.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/utils/net_status.c b/source3/utils/net_status.c index d4a95a7ca55..121577f165d 100644 --- a/source3/utils/net_status.c +++ b/source3/utils/net_status.c @@ -55,9 +55,9 @@ static int net_status_sessions(struct net_context *c, int argc, const char **arg bool parseable; if (argc == 0) { - parseable = False; + parseable = false; } else if ((argc == 1) && strequal(argv[0], "parseable")) { - parseable = True; + parseable = true; } else { return net_help_status(c, argc, argv); } @@ -140,7 +140,7 @@ static int show_share_parseable(struct db_record *rec, { struct sessionids *ids = (struct sessionids *)state; int i; - bool guest = True; + bool guest = true; if (crec->cnum == -1) return 0; @@ -152,7 +152,7 @@ static int show_share_parseable(struct db_record *rec, for (i=0; i<ids->num_entries; i++) { struct server_id id = ids->entries[i].pid; if (procid_equal(&id, &crec->pid)) { - guest = False; + guest = false; break; } } |