summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNigel Metheringham <nigel@exim.org>2011-02-21 12:53:04 +0000
committerNigel Metheringham <nigel@exim.org>2011-02-21 12:53:04 +0000
commit2e64baa9d155c1a657ba43cbe0f9bd4846621b36 (patch)
tree12c834e45a40052cf245b6964d0cef77dce503e2 /src
parent4c9ef03a1e4b4aaab82bc2636b59b4a18031d02f (diff)
Moved variable decl to start of block for old gcc
Diffstat (limited to 'src')
-rw-r--r--src/src/spam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/spam.c b/src/src/spam.c
index 55999a397..3d38d99dd 100644
--- a/src/src/spam.c
+++ b/src/src/spam.c
@@ -150,6 +150,7 @@ int spam(uschar **listptr) {
};
while ( num_servers > 0 ) {
+ int i;
/* Randomly pick a server to try */
current_server = random_number( num_servers );
@@ -185,7 +186,6 @@ int spam(uschar **listptr) {
/* Remove the server from the list. XXX We should free the memory */
num_servers--;
- int i;
for( i = current_server; i < num_servers; i++ )
spamd_address_vector[i] = spamd_address_vector[i+1];
}