projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4b23dd
)
JOIN handle -founder and -auth correcty.
author
Pekka Riikonen
<priikone@silcnet.org>
Thu, 26 Feb 2004 19:04:38 +0000
(19:04 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Thu, 26 Feb 2004 19:04:38 +0000
(19:04 +0000)
lib/silcclient/command.c
patch
|
blob
|
history
diff --git
a/lib/silcclient/command.c
b/lib/silcclient/command.c
index 116ccf50ece274273bbc006491e3c31bc2b4b395..b40908faa60078eb932de3fa500502ef7305cd4d 100644
(file)
--- a/
lib/silcclient/command.c
+++ b/
lib/silcclient/command.c
@@
-1196,7
+1196,6
@@
SILC_CLIENT_CMD_FUNC(join)
cmd->client->sha1hash,
conn->local_id,
SILC_ID_CLIENT);
- i++;
} else if (!strcasecmp(cmd->argv[i], "-auth")) {
SilcPublicKey pubkey = cmd->client->public_key;
SilcPrivateKey privkey = cmd->client->private_key;
@@
-1231,7
+1230,6
@@
SILC_CLIENT_CMD_FUNC(join)
SILC_ID_CLIENT);
memset(pubdata, 0, 128);
silc_free(pubdata);
- i++;
} else {
/* Passphrases must be UTF-8 encoded, so encode if it is not */
if (!silc_utf8_valid(cmd->argv[i], cmd->argv_lens[i])) {