diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-07-09 08:22:54 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-07-09 08:22:54 +0800 |
commit | d1bc4936d699830da46e384d32d9f60f3f8dc3fa (patch) | |
tree | 440f8f09bcfbbbee7e2df93d4f5618c86020eb9d /camel/providers/nntp/camel-nntp-utils.c | |
parent | ce3c2273262985f373126cc7fe4041c5da94d362 (diff) | |
download | gsoc2013-evolution-d1bc4936d699830da46e384d32d9f60f3f8dc3fa.tar.gz gsoc2013-evolution-d1bc4936d699830da46e384d32d9f60f3f8dc3fa.tar.zst gsoc2013-evolution-d1bc4936d699830da46e384d32d9f60f3f8dc3fa.zip |
Update to reflect past changes in the Camel API. Use gtk macro casts
2000-07-08 Jeffrey Stedfast <fejj@helixcode.com>
* providers/nntp/camel-nntp-folder.c:
* providers/nntp/camel-nntp-utils.c:
* providers/nntp/camel-nntp-store.c: Update to reflect past changes
in the Camel API. Use gtk macro casts wherever possible and use glib's
memory functions instead of standard c's (since they are not
compatable)
* providers/smtp/camel-smtp-transport.c:
* providers/imap/camel-imap-store.c: Wrap debug print statements
in a macro
* providers/imap/camel-imap-stream.c (stream_read): Make sure
that we get up to and including the last \n of the mime part.
* providers/imap/camel-imap-folder.c (imap_get_message): Make sure
that we get up to and including the last \n of the mime part.
Wrap debug print statements in a macro.
svn path=/trunk/; revision=3984
Diffstat (limited to 'camel/providers/nntp/camel-nntp-utils.c')
-rw-r--r-- | camel/providers/nntp/camel-nntp-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/nntp/camel-nntp-utils.c b/camel/providers/nntp/camel-nntp-utils.c index ae1f676cc3..d4c2cda771 100644 --- a/camel/providers/nntp/camel-nntp-utils.c +++ b/camel/providers/nntp/camel-nntp-utils.c @@ -104,7 +104,7 @@ get_HEAD_headers(CamelNNTPStore *nntp_store, CamelFolder *folder, buf_alloc = 2048; buf_len = 0; - buf = malloc(buf_alloc); + buf = g_malloc(buf_alloc); done = FALSE; buf[0] = 0; @@ -125,7 +125,7 @@ get_HEAD_headers(CamelNNTPStore *nntp_store, CamelFolder *folder, else { if (buf_len + line_length > buf_alloc) { buf_alloc *= 2; - buf = realloc (buf, buf_alloc); + buf = g_realloc (buf, buf_alloc); } strcat(buf, line); strcat(buf, "\n"); |