]> andersk Git - moira.git/commit - clients/mailmaint/mailmaint.c
cast result of strlen to (int) so that "COLS - strlen(buf)" will be an
authordanw <danw>
Fri, 30 Apr 1999 17:44:59 +0000 (17:44 +0000)
committerdanw <danw>
Fri, 30 Apr 1999 17:44:59 +0000 (17:44 +0000)
commit2349681beac98c37fee7d017beb102413ce38cb9
tree87c49e7bb10959c9d7ee8308b50fc3fb5dd45b79
parenta6da93543d4fcb76078c7ed6141602a108e8aaff
cast result of strlen to (int) so that "COLS - strlen(buf)" will be an
int instead of being "promoted" to an unsigned int, so that "COLS -
strlen(buf) > 0" is actually a meaningful test. Noticed by Irix n32
cc. Fixes a bug which has presumably been in the moira client display
code ever since it was written.

We hates the Kernighan. We hates him forever.
clients/mailmaint/mailmaint.c
clients/moira/menu.c
This page took 0.042874 seconds and 5 git commands to generate.