printf("Printserver on non-existant machine %d\n", id);
if (single_fix("Delete", 0))
{
- single_delete("printserver", "mach_id", id);
+ single_delete("printservers", "mach_id", id);
return;
}
else
else
name = m->name;
- ps->modby = maybe_fixup_modby(ps->modby, id, name, "printserver",
+ ps->modby = maybe_fixup_modby(ps->modby, id, name, "printservers",
"modby", "mach_id");
ps->printer_types = maybe_fixup_unref_string(ps->printer_types, id, name,
"printservers", "printer_types",
char type[IMEMBERS_MEMBER_TYPE_SIZE];
EXEC SQL END DECLARE SECTION;
- EXEC SQL FETCH csr223 INTO :list_id, :type, :id, :tag
+ EXEC SQL FETCH csr223 INTO :list_id, :type, :id, :tag,
:ref_count, :direct, :rowid;
if (sqlca.sqlcode)
break;