projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2946cbe
)
updates.
author
Pekka Riikonen
<priikone@silcnet.org>
Thu, 2 May 2002 11:23:47 +0000
(11:23 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Thu, 2 May 2002 11:23:47 +0000
(11:23 +0000)
apps/silcd/command.c
patch
|
blob
|
history
diff --git
a/apps/silcd/command.c
b/apps/silcd/command.c
index 6bf0f49fa82e67b4b5f0ee27d9b4519ab13bf51f..7b2323b1e661f54ead46bb9714be7167c1d4bdab 100644
(file)
--- a/
apps/silcd/command.c
+++ b/
apps/silcd/command.c
@@
-232,8
+232,10
@@
void silc_server_command_process(SilcServer server,
client->fast_command++;
fast = FALSE;
} else {
- client->fast_command = ((client->fast_command - 1) <= 0 ? 0 :
- client->fast_command--);
+ if (client->fast_command - 2 <= 0)
+ client->fast_command = 0;
+ else
+ client->fast_command -= 2;
fast = TRUE;
}