Comment 1 for bug 1582470

Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

Looking through the code, it looks like this might require handle_response() to store the OOPS ID somewhere, so that parse_and_upload_report can access it (maybe), so that it could be accessed inside of process_existing_files(), so that it can be passed to mark_handled(), to make the data available when it creates the uploaded_file.

C isn't very amenable to returning multiple values, which makes it more awkward to pass this data back through a couple levels of nesting. Some sort of "last_oops_id" global would be fairly easy, but messy. Not really happy with either one, but I think I'll try the latter for now.