diff options
author | Rafal Szczesniak <mimir@samba.org> | 2006-05-07 13:40:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:05:41 -0500 |
commit | ece95aad3da31809369e8867493bffb5cb749993 (patch) | |
tree | 1dad335852c48881188424c9e9de1c8526973e4f /source4/utils/net | |
parent | 4010a61fd85211bdee37874bf0bc27040ad70fff (diff) | |
download | samba-ece95aad3da31809369e8867493bffb5cb749993.tar.gz samba-ece95aad3da31809369e8867493bffb5cb749993.tar.bz2 samba-ece95aad3da31809369e8867493bffb5cb749993.zip |
r15490: Typo fixes and remove long forgotten commented piece.
rafal
(This used to be commit a2f6dc786031aa368b0398c21baf18cf82375c46)
Diffstat (limited to 'source4/utils/net')
-rw-r--r-- | source4/utils/net/net.c | 9 | ||||
-rw-r--r-- | source4/utils/net/net_vampire.c | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c index a6015f7c34..f2223a03a3 100644 --- a/source4/utils/net/net.c +++ b/source4/utils/net/net.c @@ -82,12 +82,7 @@ int net_run_usage(struct net_context *ctx, const struct net_functable *functable) { int i; -/* - if (argc < 1) { - d_printf("net_run_usage: TODO (argc < 1)\n"); - return 1; - } -*/ + for (i=0; functable[i].name; i++) { if (strcasecmp_m(argv[0], functable[i].name) == 0) if (functable[i].usage) { @@ -107,7 +102,7 @@ static const struct net_functable net_functable[] = { {"time", "get remote server's time\n", net_time, net_time_usage}, {"join", "join a domain\n", net_join, net_join_usage}, {"samdump", "dump the sam of a domain\n", net_samdump, net_samdump_usage}, - {"samsync", "syncrosnise into the local ldb the sam of a domain\n", net_samsync_ldb, net_samsync_ldb_usage}, + {"samsync", "synchronise into the local ldb the sam of a domain\n", net_samsync_ldb, net_samsync_ldb_usage}, {"user", "manage user accounts\n", net_user, net_user_usage}, {NULL, NULL, NULL, NULL} }; diff --git a/source4/utils/net/net_vampire.c b/source4/utils/net/net_vampire.c index 8649740777..dba51ea1af 100644 --- a/source4/utils/net/net_vampire.c +++ b/source4/utils/net/net_vampire.c @@ -175,6 +175,6 @@ int net_samsync_ldb_usage(struct net_context *ctx, int argc, const char **argv) int net_samsync_ldb_help(struct net_context *ctx, int argc, const char **argv) { - d_printf("Syncrosnise into the local ldb the SAM of a domain.\n"); + d_printf("Synchronise into the local ldb the SAM of a domain.\n"); return 0; } |