This one converts the error handling in init_slots to use gotos to avoid code duplication.
Attach a file by drag & drop or click to upload