Add timeout option to spamd_address server specification. Bug 68
[exim.git] / src / src / malware.c
index 2a1e2165441793b5e92f75e39bfd47c461701f45..3ef149827a07c7371717ed8468a9963d34e511c6 100644 (file)
@@ -1205,7 +1205,6 @@ if (!malware_ok)
       unsigned int fsize_uint;
       BOOL use_scan_command = FALSE;
       clamd_address_container * clamd_address_vector[MAX_CLAMD_SERVERS];
-      int current_server;
       int num_servers = 0;
 #ifdef WITH_OLD_CLAMAV_STREAM
       unsigned int port;
@@ -1289,8 +1288,7 @@ if (!malware_ok)
        while (num_servers > 0)
          {
          int i;
-         /* Randomly pick a server to start with */
-         current_server = random_number( num_servers );
+         int current_server = random_number( num_servers );
 
          DEBUG(D_acl)
            debug_printf("trying server name %s, port %u\n",