Mercurial > libpst
diff src/vbuf.c @ 120:6395ced2b8b2
disable building pst2dii on cygwin
consistent ordering of our include files
all system includes protected by ifdef HAVE_ from autoconf
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 01 Feb 2009 11:24:22 -0800 |
parents | ed2a260bbb98 |
children | ab2a11e72250 |
line wrap: on
line diff
--- a/src/vbuf.c Sat Jan 31 12:23:46 2009 -0800 +++ b/src/vbuf.c Sun Feb 01 11:24:22 2009 -0800 @@ -98,7 +98,7 @@ if (-1 == len) { vshexdump(errbuf, str, 0, length, 1); - WARN(("String is not zero terminated (probably broken data from registry) %s.", errbuf->b)); + DEBUG_WARN(("String is not zero terminated (probably broken data from registry) %s.\n", errbuf->b)); } return (-1 == len) ? 0 : 1; @@ -130,7 +130,7 @@ } while ((size_t)-1 == icresult && E2BIG == errno); if (icresult == (size_t)-1) { - WARN(("iconv failure: %s", strerror(errno))); + DEBUG_WARN(("iconv failure: %s\n", strerror(errno))); unicode_init(); return (size_t)-1; } @@ -170,7 +170,7 @@ } while ((size_t)-1 == icresult && E2BIG == errno); if (icresult == (size_t)-1) { - WARN(("iconv failure: %s", strerror(errno))); + WARN(("iconv failure: %s\n", strerror(errno))); unicode_init(); return (size_t)-1; }