aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-stream-mem.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-11 10:57:11 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-11 10:57:11 +0800
commit40eea3692e4afa02a9092f64c00e9348f562f68b (patch)
treea5de1982e43949eefeea75ab5a939a89690b32d4 /camel/camel-stream-mem.c
parente8ee5b65d43775708361a1094d56ae7d20fbb5e7 (diff)
downloadgsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.tar.gz
gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.tar.zst
gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.zip
Fixed some warnings.
2000-08-10 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, camel-folder-summary.c, camel-medium.c, camel-mime-filter-charset.c, camel-mime-filter.c, camel-mime-filter.h, camel-mime-message.c, camel-mime-parser.c, camel-mime-part-utils.c, camel-mime-part.c, camel-mime-utils.c, camel-movemail.c, camel-multipart.c, camel-object.c, camel-stream-mem.c, providers/mbox/camel-mbox-folder.c, providers/mbox/camel-mbox-summary.c, providers/mh/camel-mh-folder.c, providers/smtp/camel-smtp-transport.c: Fixed some warnings. svn path=/trunk/; revision=4719
Diffstat (limited to 'camel/camel-stream-mem.c')
-rw-r--r--camel/camel-stream-mem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/camel-stream-mem.c b/camel/camel-stream-mem.c
index f5dab54a41..77941894b7 100644
--- a/camel/camel-stream-mem.c
+++ b/camel/camel-stream-mem.c
@@ -182,7 +182,9 @@ stream_write (CamelStream *stream, const char *buffer, size_t n)
if (seekable->bound_end != CAMEL_STREAM_UNBOUND)
nwrite = MIN(seekable->bound_end - seekable->position, n);
+#ifndef NO_WARNINGS
#warning "g_byte_arrays use g_malloc and so are totally unsuitable for this object"
+#endif
if (seekable->position == stream_mem->buffer->len) {
stream_mem->buffer =
g_byte_array_append (stream_mem->buffer, (const guint8 *)buffer, nwrite);
rs in a quick and predictable manner. [1] https://kde.org/announcements/kde-frameworks-5.68.0.php PR: 244824 Exp-run by: antoine * KDE Frameworks: update to 5.65.0Tobias C. Berner2019-12-191-0/+3 | | | | | | | | | | | | | | | | | | | From [1]: December 14, 2019. KDE today announces the release of KDE Frameworks 5.65.0. KDE Frameworks are over 70 addon libraries to Qt which provide a wide variety of commonly needed functionality in mature, peer reviewed and well tested libraries with friendly licensing terms. For an introduction see the KDE Frameworks web page. This release is part of a series of planned monthly releases making improvements available to developers in a quick and predictable manner. [1] https://kde.org/announcements/kde-frameworks-5.65.0.php Exp-run by: antoine PR: 242633 * Update KDE Frameworks to 5.48.0Tobias C. Berner2018-07-201-0/+4 | | | | | Exp-run by: antoine PR: 229769 * Update KDE Frameworks to 5.44Tobias C. Berner2018-03-131-0/+100 | | | | | PR: 226498 Exp-run by: antoine * Update KDE Frameworks to 5.35Tobias C. Berner2017-06-181-11/+0 | | | | | | PR: 219950 Submitted by: Adriaan de Groot <groot@kde.org> Exp-Run by: antoine * Update KDE Frameworks to 5.34.0Tobias C. Berner2017-05-201-0/+1 | | | | | | | | PR: 219314 Reviewed by: rakuco Exp-run by: antoine Approved by: rakuco (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D10747