diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,7 +42,7 @@ | |||
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include "includes.h" | 44 | #include "includes.h" |
45 | RCSID("$OpenBSD: sshd.c,v 1.303 2004/09/15 18:42:27 mickey Exp $"); | 45 | RCSID("$OpenBSD: sshd.c,v 1.304 2004/09/25 03:45:14 djm Exp $"); |
46 | 46 | ||
47 | #include <openssl/dh.h> | 47 | #include <openssl/dh.h> |
48 | #include <openssl/bn.h> | 48 | #include <openssl/bn.h> |
@@ -765,7 +765,7 @@ drop_connection(int startups) | |||
765 | p += options.max_startups_rate; | 765 | p += options.max_startups_rate; |
766 | r = arc4random() % 100; | 766 | r = arc4random() % 100; |
767 | 767 | ||
768 | debug("drop_connection: p %g, r %g", p, r); | 768 | debug("drop_connection: p %d, r %d", p, r); |
769 | return (r < p) ? 1 : 0; | 769 | return (r < p) ? 1 : 0; |
770 | } | 770 | } |
771 | 771 | ||