~vcs-imports/putty/master

Viewing all changes in revision 5809.

  • Committer: Simon Tatham
  • Date: 2020-04-18 12:33:51 UTC
  • Revision ID: git-v1:df2994a05ab4a353b90cbda04ce5b45c6a238692
Make the backend_init error message dynamic. (NFC)

Now, instead of a 'const char *' in the static data segment, error
messages returned from backend setup are dynamically allocated and
freed by the caller.

This will allow me to make the messages much more specific (including
errno values and the like). However, this commit is pure refactoring:
I've _just_ changed the allocation policy, and left all the messages
alone.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: