Skip to content

Conversation

@catfromplan9
Copy link
Contributor

Tidy up some of the MIME code to be more concise

Tidy up some of the MIME code to be more concise
@catfromplan9
Copy link
Contributor Author

Bump @vaxerski

}
if (magic)
magic_close(magic);
if(magic) magic_close(magic);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will not build? magic is a local within the if above. Just make the magic before the if, then if load succeeds do the stuff, then close if the ptr is not null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants