]> andersk Git - moira.git/blobdiff - gen/mailhub.dc
mucked with host table authorization checks...
[moira.git] / gen / mailhub.dc
index e5f420d4f483cb0fc6f4d22afca9b7de9e7b62e9..e29c2937b57356ee648ce4140bca024d59b533a6 100644 (file)
@@ -157,11 +157,12 @@ get_info()
     EXEC SQL SELECT modtime INTO :buf FROM list WHERE list_id = 0;
 
     cnt = 0;
-    machines = create_hash(10);
+    machines = create_hash(1000);
 
     EXEC SQL DECLARE m_cursor CURSOR FOR
       SELECT mach_id, name
       FROM machine
+      WHERE status=1
       ORDER BY mach_id;
     EXEC SQL OPEN m_cursor;
     while (1) {
@@ -572,7 +573,7 @@ register char *s;
     wwid = strlen(s);
 
     if (!bol && awid + wwid + 2 > AL_MAX_WID) {
-       fprintf(out, ",\n\tcontinuation-%d\ncontinuation-%d: ", cont, cont);
+       fprintf(out, ",\n\tcontinuation%d\ncontinuation%d: ", cont, cont);
        cont++;
        awid = lwid = 17 + wwid;
        fputs(s, out);
This page took 0.03251 seconds and 4 git commands to generate.