]> git.pond.sub.org Git - empserver/commitdiff
(dodistribute): Import could export a civilian when the dist center
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 17 Sep 2004 12:58:51 +0000 (12:58 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Fri, 17 Sep 2004 12:58:51 +0000 (12:58 +0000)
didn't have any.

src/lib/update/distribute.c

index 1e60a57eac62f974f0c1429b6e35f836cd715e20..e9b97d2951cbfb190c7ae42ee50abdf303639cbf 100644 (file)
@@ -135,7 +135,7 @@ dodistribute(struct sctstr *sp, int imex, s_char *path, double dist_i_cost,
 
            if (amt_dist < amt) {
                amt = amt_dist;
-               if (amt_dist == 0)
+               if (amt_dist <= 0)
                    continue;
            }
            pack = ip->i_pkg[dist_packing];