Mercurial > pidgin.yaz
diff src/protocols/msn/msg.c @ 9198:ab6636c5a136
[gaim-migrate @ 9993]
Updated all the copyright headers for all the *.[ch] files -- all 63. No
fun, but I receive great satisfaction in knowing that you all have to
recompile this, again.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 06 Jun 2004 03:42:55 +0000 |
parents | 502707ca1836 |
children | 1843023b8189 |
line wrap: on
line diff
--- a/src/protocols/msn/msg.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/msg.c Sun Jun 06 03:42:55 2004 +0000 @@ -3,7 +3,9 @@ * * gaim * - * Copyright (C) 2003-2004 Christian Hammond <chipx86@gnupdate.org> + * Gaim is the legal property of its developers, whose names are too numerous + * to list here. Please refer to the COPYRIGHT file distributed with this + * source distribution. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -96,11 +98,11 @@ msg->msnslp_header.ack_id = GUINT32_FROM_LE(header.ack_id); msg->msnslp_header.ack_sub_id = GUINT32_FROM_LE(header.ack_sub_id); msg->msnslp_header.ack_size = GUINT64_FROM_LE(header.ack_size); - + /* Import the body. */ /* msg->body_len = msg->msnslp_header.length; */ msg->body_len = len - (tmp - body); - + if (msg->body_len > 0) msg->body = g_memdup(tmp, msg->body_len); @@ -196,7 +198,7 @@ /* Import the body. */ msg->body_len = payload_len - (tmp - tmp_base) - sizeof(footer); - + if (msg->body_len > 0) msg->body = g_memdup(tmp, msg->body_len); @@ -283,7 +285,7 @@ msg->ref_count--; - if (msg->ref_count == 0) + if (msg->ref_count == 0) { msn_message_destroy(msg); @@ -331,7 +333,7 @@ if (ret_size != NULL) *ret_size = tmp - base; - + return base; } @@ -651,7 +653,7 @@ } g_string_append(str, "\r\n"); - + body = msn_message_get_bin_data(msg, &body_len); if (msg->msnslp_message) @@ -694,7 +696,7 @@ g_string_append(str, "\r\n"); } } - + g_string_append_printf(str, "%u ", msg->msnslp_footer.value); g_string_append(str, "\r\n"); } @@ -708,6 +710,6 @@ } gaim_debug_info("msn", "Message %s:\n{%s}\n", info, str->str); - + g_string_free(str, TRUE); }