summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bind.c2
-rw-r--r--src/options.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bind.c b/src/bind.c
index b929b5c4..b3239462 100644
--- a/src/bind.c
+++ b/src/bind.c
@@ -394,7 +394,7 @@ int ssh_bind_accept_fd(ssh_bind sshbind, ssh_session session, socket_t fd){
session->version = 2;
/* copy options */
- for (i = 0; i < 10; ++i) {
+ for (i = 0; i < 10; i++) {
if (sshbind->wanted_methods[i]) {
session->opts.wanted_methods[i] = strdup(sshbind->wanted_methods[i]);
if (session->opts.wanted_methods[i] == NULL) {
diff --git a/src/options.c b/src/options.c
index 0b26024a..1e441f3e 100644
--- a/src/options.c
+++ b/src/options.c
@@ -136,7 +136,7 @@ int ssh_options_copy(ssh_session src, ssh_session *dest) {
}
}
- for (i = 0; i < 10; ++i) {
+ for (i = 0; i < 10; i++) {
if (src->opts.wanted_methods[i]) {
new->opts.wanted_methods[i] = strdup(src->opts.wanted_methods[i]);
if (new->opts.wanted_methods[i] == NULL) {