Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change fixed width format for names in dump_users() #1290

Merged
merged 1 commit into from Mar 7, 2019

Conversation

Projects
None yet
2 participants
@grapenut
Copy link
Contributor

grapenut commented Mar 7, 2019

The printf format for names in bsd.c: dump_users() was using a fixed width '%16.16s' format even though monikers with ansi may have more than 16 characters with unprintable ansi codes. Changed the format to '%s' since we are manually padding with spaces up to 16.

Change fixed width format for names in dump_users() to non-fixed widt…
…h since we are padding manually and monikers with ansi may have more than 16 characters
@grapenut

This comment has been minimized.

Copy link
Contributor Author

grapenut commented Mar 7, 2019

Fixes issue #1289

@mike347 mike347 merged commit 41bd1ee into pennmush:master Mar 7, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.