X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/492f333e8793d290dfb7d2f3dcdc2d87598f4c84..8ca3e3419cff0bb78f72e0e8254bda57c337391a:/gen/mailhub.dc diff --git a/gen/mailhub.dc b/gen/mailhub.dc index e5f420d4..e29c2937 100644 --- a/gen/mailhub.dc +++ b/gen/mailhub.dc @@ -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);