Skip to content

Write new version of _fatal() which takes a file argument #95

Description

@novotimo

Right now, _fatal can only take strings, no formats. It's annoying to snprintf into a buffer, and it wastes static memory, so there should be a function which lets us say something like:
Error loading server cert from file [%s]: [error]. In this case, the call would be something like _fatal_file(logfd, "Error loading server cert", cert_filename, TPX_ERR_OSSL);

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions