Menu

#30 Unsigned values in quota

closed-out-of-date
None
5
2009-08-14
2007-09-17
Rick Widmer
No

In the process of fixing a warning in the maildirquota module of vpopmail I decided that the file size and number parameters should be unsigned all the way to the user, since they are unsigned in reality.

This results in the parameters of readuserquota changing. diskquota is now unsigned long instead of long. maxmsg is now unsigned int instead of int.

This patch corrects the compiler error, and removes the warnings that caused. I still see some warnings in util.c but they are not related to this change.

Discussion

  • Rick Widmer

    Rick Widmer - 2007-09-17
     
  • Matt Brookings

    Matt Brookings - 2009-08-14
    • assigned_to: nobody --> volz0r
    • status: open --> closed-out-of-date
     
  • Matt Brookings

    Matt Brookings - 2009-08-14

    vpopmail 5.5 fixes this by adding quota API that qmailadmin will be updated to use

     

Log in to post a comment.