Commit e3d2c437 e3d2c437ef0d065f406b5ea0d4e162d0c90977f0 by Sergey Poznyakoff

Include mu_umaxtostr.h

1 parent d44a6c72
......@@ -95,6 +95,7 @@
#include <mailutils/url.h>
#include <mu_asprintf.h>
#include <mu_umaxtostr.h>
#include <getline.h>
#ifdef __cplusplus
......
......@@ -17,6 +17,7 @@
Boston, MA 02110-1301 USA */
#include "mu_scm.h"
#include <mu_umaxtostr.h>
struct mu_port
{
......@@ -270,7 +271,7 @@ mu_port_print (SCM exp, SCM port, scm_print_state *pstate)
if (mu_stream_size (mp->stream, &size) == 0)
{
char buffer[64];
snprintf (buffer, sizeof (buffer), " %-5ld", size);
snprintf (buffer, sizeof (buffer), " %-5s", mu_umaxtostr (0, size));
scm_puts (buffer, port);
scm_puts (" chars", port);
}
......
......@@ -54,6 +54,7 @@
#include <mailutils/mime.h>
#include <mu_asprintf.h>
#include <mu_umaxtostr.h>
#include <getline.h>
#if !HAVE_DECL_STRCHRNUL
......
......@@ -25,6 +25,7 @@
#endif
#include <mu_dbm.h>
#include <mu_asprintf.h>
#include <mu_umaxtostr.h>
/* The implementation */
#define IMPL "GNU POP3 Daemon"
......