Make error strings in a separate method
ClosedPublic

Authored by madcatx on Jul 16 2017, 1:22 PM.

Details

Summary

Decouple the strings returned as error messages from the reportError() method.

Diff Detail

Repository
R320 KIO Extras
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
madcatx created this revision.Jul 16 2017, 1:22 PM
elvisangelaccio accepted this revision.Jul 16 2017, 3:06 PM
elvisangelaccio added inline comments.
smb/kio_smb.h
97

You could use a struct since it defaults to public as visibility for members.

This revision is now accepted and ready to land.Jul 16 2017, 3:06 PM

I know, but I prefer to reserve the struct keyword for C-only code.

This revision was automatically updated to reflect the committed changes.