Mercurial > pidgin.yaz
changeset 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>
line wrap: on
line diff
--- a/src/protocols/msn/cmdproc.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/cmdproc.c Sun Jun 06 03:42:55 2004 +0000 @@ -3,7 +3,9 @@ * * gaim * - * Copyright (C) 2003, 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
--- a/src/protocols/msn/cmdproc.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/cmdproc.h Sun Jun 06 03:42:55 2004 +0000 @@ -3,7 +3,9 @@ * * gaim * - * Copyright (C) 2003, 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 @@ -48,7 +50,7 @@ MsnCommand *last_cmd; char *last_trans; - + MsnTable *cbs_table; /* MsnPayloadCb payload_cb; */
--- a/src/protocols/msn/command.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/command.c Sun Jun 06 03:42:55 2004 +0000 @@ -3,7 +3,9 @@ * * gaim * - * Copyright (C) 2003, 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 @@ -48,7 +50,7 @@ cmd = g_new0(MsnCommand, 1); cmd->command = tmp; - + if (param_start) { char *param; @@ -59,16 +61,16 @@ for (c = 0; cmd->params[c]; c++); cmd->param_count = c; - + param = cmd->params[0]; cmd->trId = is_num(param) ? atoi(param) : 0; } else cmd->trId = 0; - + msn_command_ref(cmd); - + return cmd; } @@ -76,7 +78,7 @@ msn_command_destroy(MsnCommand *cmd) { g_return_if_fail(cmd != NULL); - + if (cmd->ref_count > 0) { msn_command_unref(cmd);
--- a/src/protocols/msn/command.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/command.h Sun Jun 06 03:42:55 2004 +0000 @@ -3,7 +3,9 @@ * * gaim * - * Copyright (C) 2003, 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
--- a/src/protocols/msn/directconn.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/directconn.c Sun Jun 06 03:42:55 2004 +0000 @@ -1,3 +1,26 @@ +/** + * @file directconn.c MSN direct connection functions + * + * gaim + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #include "msn.h" #include "directconn.h" @@ -77,10 +100,10 @@ gaim_debug_error("msn", "Could not get address info: %s.\n", port_str); return -1; - } + } for (c = res; c != NULL; c = c->ai_next) - { + { fd = socket(c->ai_family, c->ai_socktype, c->ai_protocol); if (fd < 0)
--- a/src/protocols/msn/directconn.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/directconn.h Sun Jun 06 03:42:55 2004 +0000 @@ -1,3 +1,26 @@ +/** + * @file directconn.h MSN direct connection functions + * + * gaim + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #ifndef _MSN_DIRECTCONN_H_ #define _MSN_DIRECTCONN_H_
--- a/src/protocols/msn/dispatch.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/dispatch.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
--- a/src/protocols/msn/dispatch.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/dispatch.h 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
--- a/src/protocols/msn/error.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/error.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
--- a/src/protocols/msn/error.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/error.h 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
--- a/src/protocols/msn/ft.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/ft.c Sun Jun 06 03:42:55 2004 +0000 @@ -3,7 +3,9 @@ * * gaim * - * Copyright (C) 2003, 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
--- a/src/protocols/msn/group.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/group.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
--- a/src/protocols/msn/group.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/group.h 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
--- a/src/protocols/msn/history.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/history.c Sun Jun 06 03:42:55 2004 +0000 @@ -3,7 +3,9 @@ * * gaim * - * Copyright (C) 2003, 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 @@ -26,9 +28,9 @@ msn_history_new(void) { MsnHistory *history = g_new0(MsnHistory, 1); - + history->trId = 1; - + history->queue = g_queue_new(); return history; @@ -68,9 +70,9 @@ GQueue *queue = history->queue; trans->trId = history->trId++; - + g_queue_push_tail(queue, trans); - + if (queue->length > MSN_HIST_ELEMS) { trans = g_queue_pop_head(queue);
--- a/src/protocols/msn/history.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/history.h Sun Jun 06 03:42:55 2004 +0000 @@ -3,7 +3,9 @@ * * gaim * - * Copyright (C) 2003, 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
--- a/src/protocols/msn/httpmethod.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/httpmethod.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
--- a/src/protocols/msn/httpmethod.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/httpmethod.h 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
--- 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); }
--- a/src/protocols/msn/msg.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/msg.h 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
--- a/src/protocols/msn/msn.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/msn.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 @@ -277,7 +279,7 @@ MsnUser *user; MsnSession *session; MsnMobileData *data; - + g_return_if_fail(GAIM_BLIST_NODE_IS_BUDDY(node)); buddy = (GaimBuddy *) node; @@ -787,7 +789,7 @@ return; } #endif - + msn_userlist_add_buddy(userlist, who, MSN_LIST_FL, group ? group->name : NULL); } @@ -797,7 +799,7 @@ { MsnSession *session; MsnUserList *userlist; - + session = gc->proto_data; userlist = session->userlist; @@ -817,7 +819,7 @@ if (user->list_op & MSN_LIST_BL_OP) msn_userlist_rem_buddy(userlist, who, MSN_LIST_BL, NULL); - + msn_userlist_add_buddy(userlist, who, MSN_LIST_AL, NULL); } @@ -827,7 +829,7 @@ MsnSession *session; MsnUserList *userlist; MsnUser *user; - + session = gc->proto_data; userlist = session->userlist; user = msn_userlist_find_user(userlist, who); @@ -844,12 +846,12 @@ MsnSession *session; MsnUserList *userlist; MsnUser *user; - + session = gc->proto_data; userlist = session->userlist; user = msn_userlist_find_user(userlist, who); - + msn_userlist_rem_buddy(userlist, who, MSN_LIST_AL, NULL); if (user->list_op & MSN_LIST_RL_OP) @@ -862,7 +864,7 @@ MsnSession *session; MsnUserList *userlist; MsnUser *user; - + session = gc->proto_data; userlist = session->userlist; @@ -989,7 +991,7 @@ { MsnSession *session; MsnUserList *userlist; - + session = gc->proto_data; userlist = session->userlist;
--- a/src/protocols/msn/msn.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/msn.h 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
--- a/src/protocols/msn/msnobject.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/msnobject.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
--- a/src/protocols/msn/msnobject.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/msnobject.h 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
--- a/src/protocols/msn/msnslp.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/msnslp.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
--- a/src/protocols/msn/msnslp.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/msnslp.h 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
--- a/src/protocols/msn/nexus.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/nexus.c Sun Jun 06 03:42:55 2004 +0000 @@ -1,3 +1,26 @@ +/** + * @file nexus.c MSN Nexus functions + * + * gaim + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #include "msn.h" #include "nexus.h" #include "notification.h"
--- a/src/protocols/msn/nexus.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/nexus.h Sun Jun 06 03:42:55 2004 +0000 @@ -1,3 +1,26 @@ +/** + * @file nexus.h MSN Nexus functions + * + * gaim + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #ifndef _MSN_NEXUS_H_ #define _MSN_NEXUS_H_
--- a/src/protocols/msn/notification.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/notification.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 @@ -421,7 +423,7 @@ msn_userlist_rem_buddy(userlist, data->who, MSN_LIST_FL, data->old_group_name); g_free(data->old_group_name); } - + msn_userlist_add_buddy(userlist, data->who, MSN_LIST_FL, group_name); g_free(data->who); @@ -1110,7 +1112,7 @@ for (i = session->protocol_ver; i >= 8; i--) *c++ = g_strdup_printf("MSNP%d", i); - + *c++ = g_strdup("CVR0"); vers = g_strjoinv(" ", a); @@ -1119,7 +1121,7 @@ g_strfreev(a); g_free(vers); - + if (cmdproc->error) return;
--- a/src/protocols/msn/notification.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/notification.h 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
--- a/src/protocols/msn/object.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/object.c Sun Jun 06 03:42:55 2004 +0000 @@ -3,7 +3,9 @@ * * gaim * - * Copyright (C) 2003 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,7 +98,7 @@ if (obj->sha1c != NULL) g_free(obj->sha1c); - + if (obj->local) local_objs = g_list_remove(local_objs, obj); @@ -255,7 +257,7 @@ msn_object_find_local(const char *sha1c) { GList *l; - + g_return_val_if_fail(sha1c != NULL, NULL); for (l = local_objs; l != NULL; l = l->next) @@ -284,7 +286,7 @@ msn_object_set_real_location(MsnObject *obj, const char *real_location) { g_return_if_fail(obj != NULL); - + /* obj->local = TRUE; */ if (obj->real_location != NULL) @@ -298,13 +300,13 @@ msn_object_get_real_location(const MsnObject *obj) { MsnObject *local_obj; - + g_return_val_if_fail(obj != NULL, NULL); local_obj = msn_object_find_local(msn_object_get_sha1c(obj)); if (local_obj != NULL) return local_obj->real_location; - + return NULL; }
--- a/src/protocols/msn/object.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/object.h Sun Jun 06 03:42:55 2004 +0000 @@ -3,7 +3,9 @@ * * gaim * - * Copyright (C) 2003 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
--- a/src/protocols/msn/page.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/page.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
--- a/src/protocols/msn/page.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/page.h 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
--- a/src/protocols/msn/servconn.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/servconn.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 @@ -34,7 +36,7 @@ const char *names[] = { "Notification", "Switchboard" }; const char *name; - + gc = gaim_account_get_connection(servconn->session->account); name = names[servconn->type]; @@ -170,7 +172,7 @@ { if (servconn->http_data->gateway_host != NULL) g_free(servconn->http_data->gateway_host); - + servconn->http_data->gateway_host = g_strdup(host); } @@ -466,10 +468,10 @@ gaim_debug_error("msn", "Could not get address info: %s.\n", port_str); return -1; - } + } for (c = res; c != NULL; c = c->ai_next) - { + { fd = socket(c->ai_family, c->ai_socktype, c->ai_protocol); if (fd < 0)
--- a/src/protocols/msn/servconn.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/servconn.h 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
--- a/src/protocols/msn/session.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/session.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
--- a/src/protocols/msn/session.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/session.h 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
--- a/src/protocols/msn/slp.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/slp.c Sun Jun 06 03:42:55 2004 +0000 @@ -3,7 +3,9 @@ * * gaim * - * Copyright (C) 2003 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 @@ -56,7 +58,7 @@ { if ((c2 = strstr(c, end)) == NULL) return NULL; - + return g_strndup(c, c2 - c); } else @@ -127,7 +129,7 @@ { GaimXfer *xfer; - xfer = slpcall->xfer; + xfer = slpcall->xfer; xfer->bytes_sent = offset; xfer->bytes_remaining = total_length - offset; @@ -257,19 +259,19 @@ type = msn_object_get_type(obj); sha1c = msn_object_get_sha1c(obj); g_free(msnobj_data); - + if (!(type == MSN_OBJECT_USERTILE)) { gaim_debug_error("msn", "Wrong object?\n"); msn_object_destroy(obj); g_return_if_reached(); } - + file_name = msn_object_get_real_location(obj); slpsession = msn_slplink_find_slp_session(slplink, slpcall->session_id); - + /* DATA PREP */ slpmsg = msn_slpmsg_new(slplink); slpmsg->slpsession = slpsession; @@ -282,7 +284,7 @@ /* DATA */ slpmsg = msn_slpmsg_new(slplink); - slpmsg->slpsession = slpsession; + slpmsg->slpsession = slpsession; slpmsg->flags = 0x20; #ifdef DEBUG_SLP slpmsg->info = "SLP DATA"; @@ -381,11 +383,11 @@ if (temp != NULL) slpcall->app_id = atoi(temp); g_free(temp); - + context = get_token(content, "Context: ", "\r\n"); got_sessionreq(slpcall, branch, euf_guid, context); - + g_free(context); g_free(euf_guid); } @@ -395,7 +397,7 @@ char *listening, *nonce; char *content; - + if (FALSE) { #if 0 @@ -434,7 +436,7 @@ { listening = "false"; nonce = g_strdup("00000000-0000-0000-0000-000000000000"); - + content = g_strdup_printf( "Bridge: TCPv1\r\n" "Listening: %s\r\n" @@ -457,7 +459,7 @@ char *temp; char *nonce; int port; - + nonce = get_token(content, "Nonce: {", "}\r\n"); ip_addrs = get_token(content, "IPv4Internal-Addrs: ", "\r\n"); @@ -486,7 +488,7 @@ { g_return_if_fail(slpcall != NULL); g_return_if_fail(type != NULL); - + if (!strcmp(type, "application/x-msnmsgr-sessionreqbody")) { #if 0 @@ -527,7 +529,7 @@ g_free(header); g_free(content); - + g_free(branch); } else @@ -550,7 +552,7 @@ char *temp; char *nonce; int port; - + nonce = get_token(content, "Nonce: {", "}\r\n"); ip_addrs = get_token(content, "IPv4Internal-Addrs: ", "\r\n"); @@ -637,7 +639,7 @@ strncpy(temp, status, c - status); temp[c - status] = '\0'; } - + gaim_debug_error("msn", "Received non-OK result: %s\n", temp); slpcall->wasted = TRUE; @@ -741,7 +743,7 @@ gaim_debug_info("msn", "Got User Display: %s\n", info); account = slpcall->slplink->session->account; - + /* TODO: I think we need better buddy icon core functions. */ gaim_buddy_icons_set_for_user(account, slpcall->slplink->remote_user, (void *)data, size); @@ -777,7 +779,7 @@ } buddy = (GaimBuddy *)sl->data; - + old = gaim_blist_node_get_string((GaimBlistNode *)buddy, "icon_checksum"); new = msn_object_get_sha1c(obj);
--- a/src/protocols/msn/slp.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/slp.h Sun Jun 06 03:42:55 2004 +0000 @@ -3,6 +3,10 @@ * * gaim * + * 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 * the Free Software Foundation; either version 2 of the License, or
--- a/src/protocols/msn/slpcall.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/slpcall.c Sun Jun 06 03:42:55 2004 +0000 @@ -3,6 +3,10 @@ * * gaim * + * 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 * the Free Software Foundation; either version 2 of the License, or @@ -165,7 +169,7 @@ g_free(header); g_free(content); - + g_free(branch); } @@ -190,7 +194,7 @@ slpcall = NULL; body = slpmsg->buffer; body_len = slpmsg->size; - + if (slpmsg->flags == 0x0) { slpcall = msn_slp_sip_recv(slplink, body, body_len);
--- a/src/protocols/msn/slpcall.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/slpcall.h 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 @@ -59,7 +61,7 @@ char *data_info; void *xfer; - + MsnSlpCb cb; gboolean wasted; gboolean started;
--- a/src/protocols/msn/slplink.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/slplink.c Sun Jun 06 03:42:55 2004 +0000 @@ -1,3 +1,26 @@ +/** + * @file slplink.c MSNSLP Link support + * + * gaim + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #include "msn.h" #include "slplink.h" @@ -286,7 +309,7 @@ MsnMessage *msg; slpmsg->msg = msg = msn_message_new_msnslp(); - + if (slpmsg->flags == 0x0) { msg->msnslp_header.session_id = slpmsg->session_id; @@ -301,7 +324,7 @@ else if (slpmsg->flags == 0x20 || slpmsg->flags == 0x1000030) { MsnSlpSession *slpsession; - slpsession = slpmsg->slpsession; + slpsession = slpmsg->slpsession; g_return_if_fail(slpsession != NULL); msg->msnslp_header.session_id = slpsession->id; @@ -539,7 +562,7 @@ return NULL; } -typedef struct +typedef struct { guint32 length; guint32 unk1; @@ -638,7 +661,7 @@ g_return_if_fail(slplink != NULL); g_return_if_fail(obj != NULL); - + msnobj_data = msn_object_to_string(obj); msnobj_base64 = gaim_base64_encode(msnobj_data, strlen(msnobj_data)); g_free(msnobj_data);
--- a/src/protocols/msn/slplink.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/slplink.h Sun Jun 06 03:42:55 2004 +0000 @@ -1,3 +1,26 @@ +/** + * @file slplink.h MSNSLP Link support + * + * gaim + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #ifndef _MSN_SLPLINK_H_ #define _MSN_SLPLINK_H_
--- a/src/protocols/msn/slpmsg.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/slpmsg.c Sun Jun 06 03:42:55 2004 +0000 @@ -3,6 +3,10 @@ * * gaim * + * 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 * the Free Software Foundation; either version 2 of the License, or @@ -48,7 +52,7 @@ if (slpmsg->fp != NULL) fclose(slpmsg->fp); - + if (slpmsg->buffer != NULL) g_free(slpmsg->buffer); @@ -82,7 +86,7 @@ slpmsg->buffer = g_memdup(body, size); else slpmsg->buffer = g_new0(char, size); - + slpmsg->size = size; }
--- a/src/protocols/msn/slpmsg.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/slpmsg.h Sun Jun 06 03:42:55 2004 +0000 @@ -3,6 +3,10 @@ * * gaim * + * 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 * the Free Software Foundation; either version 2 of the License, or
--- a/src/protocols/msn/slpsession.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/slpsession.c Sun Jun 06 03:42:55 2004 +0000 @@ -3,6 +3,10 @@ * * gaim * + * 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 * the Free Software Foundation; either version 2 of the License, or
--- a/src/protocols/msn/slpsession.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/slpsession.h Sun Jun 06 03:42:55 2004 +0000 @@ -3,6 +3,10 @@ * * gaim * + * 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 * the Free Software Foundation; either version 2 of the License, or
--- a/src/protocols/msn/state.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/state.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
--- a/src/protocols/msn/state.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/state.h 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
--- a/src/protocols/msn/switchboard.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/switchboard.c Sun Jun 06 03:42:55 2004 +0000 @@ -3,7 +3,9 @@ * * gaim * - * Copyright (C) 2003, 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 @@ -52,7 +54,7 @@ { MsnCmdProc *cmdproc; GaimAccount *account; - + g_return_if_fail(swboard != NULL); cmdproc = swboard->servconn->cmdproc; @@ -148,7 +150,7 @@ if (session->protocol_ver >= 9) { - GList *l; + GList *l; /* But we already know the switchboard... */ /* What if there is more than one user? */ @@ -261,7 +263,7 @@ /* msn_cmdproc_process_queue(cmdproc); */ msn_switchboard_process_queue(swboard); - + send_clientcaps(swboard); #if 1 @@ -596,7 +598,7 @@ #endif msn_table_add_error(cbs_table, "MSG", NULL); - + /* Register the message type callbacks. */ msn_table_add_msg_type(cbs_table, "text/plain", plain_msg);
--- a/src/protocols/msn/switchboard.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/switchboard.h 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
--- a/src/protocols/msn/sync.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/sync.c Sun Jun 06 03:42:55 2004 +0000 @@ -1,3 +1,26 @@ +/** + * @file sync.c MSN list synchronization functions + * + * gaim + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #include "msn.h" #include "sync.h" #include "state.h" @@ -97,7 +120,7 @@ passport = cmd->params[0]; friend = gaim_url_decode(cmd->params[1]); list_op = atoi(cmd->params[2]); - + user = msn_user_new(session->userlist, passport, friend); msn_userlist_add_user(session->userlist, user); @@ -105,7 +128,7 @@ session->sync->last_user = user; /* TODO: This can be improved */ - + if (list_op & MSN_LIST_FL_OP) { char **c; @@ -126,7 +149,7 @@ id = atoi(*c); group_ids = g_slist_append(group_ids, GINT_TO_POINTER(id)); } - + g_strfreev(tokens); msn_got_lst_user(session, user, list_op, group_ids);
--- a/src/protocols/msn/sync.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/sync.h Sun Jun 06 03:42:55 2004 +0000 @@ -1,3 +1,26 @@ +/** + * @file sync.h MSN list synchronization functions + * + * gaim + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #ifndef _MSN_SYNC_H_ #define _MSN_SYNC_H_
--- a/src/protocols/msn/table.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/table.c Sun Jun 06 03:42:55 2004 +0000 @@ -3,7 +3,9 @@ * * gaim * - * Copyright (C) 2003, 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
--- a/src/protocols/msn/table.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/table.h Sun Jun 06 03:42:55 2004 +0000 @@ -3,7 +3,9 @@ * * gaim * - * Copyright (C) 2003, 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
--- a/src/protocols/msn/transaction.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/transaction.c Sun Jun 06 03:42:55 2004 +0000 @@ -3,7 +3,9 @@ * * gaim * - * Copyright (C) 2003, 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 @@ -42,7 +44,7 @@ } /* trans->queue = g_queue_new(); */ - + return trans; } @@ -63,10 +65,10 @@ #if 0 MsnTransaction *elem; if (trans->queue != NULL) - { + { while ((elem = g_queue_pop_head(trans->queue)) != NULL) msn_transaction_destroy(elem); - + g_queue_free(trans->queue); } #endif
--- a/src/protocols/msn/transaction.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/transaction.h Sun Jun 06 03:42:55 2004 +0000 @@ -3,7 +3,9 @@ * * gaim * - * Copyright (C) 2003, 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
--- a/src/protocols/msn/user.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/user.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 @@ -145,7 +147,7 @@ msn_user_set_object(user, msnobj); } - + msn_object_set_real_location(msnobj, filename); buf = g_malloc(st.st_size); @@ -213,7 +215,7 @@ userlist = user->userlist; account = userlist->session->account; passport = msn_user_get_passport(user); - + group_name = msn_userlist_find_group_name(userlist, id); g = gaim_find_group(group_name);
--- a/src/protocols/msn/user.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/user.h 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
--- a/src/protocols/msn/userlist.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/userlist.c Sun Jun 06 03:42:55 2004 +0000 @@ -1,3 +1,26 @@ +/** + * @file userlist.c MSN user list support + * + * gaim + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #include "msn.h" #include "userlist.h" @@ -343,7 +366,7 @@ msn_userlist_new(MsnSession *session) { MsnUserList *userlist; - + userlist = g_new0(MsnUserList, 1); userlist->session = session; @@ -457,7 +480,7 @@ msn_userlist_find_group_id(MsnUserList *userlist, const char *group_name) { MsnGroup *group; - + group = msn_userlist_find_group_with_name(userlist, group_name); if (group != NULL) @@ -470,7 +493,7 @@ msn_userlist_find_group_name(MsnUserList *userlist, int group_id) { MsnGroup *group; - + group = msn_userlist_find_group_with_id(userlist, group_id); if (group != NULL)
--- a/src/protocols/msn/userlist.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/userlist.h Sun Jun 06 03:42:55 2004 +0000 @@ -1,3 +1,26 @@ +/** + * @file userlist.h MSN user list support + * + * gaim + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #ifndef _MSN_USERLIST_H_ #define _MSN_USERLIST_H_
--- a/src/protocols/msn/utils.c Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/utils.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
--- a/src/protocols/msn/utils.h Sun Jun 06 03:30:20 2004 +0000 +++ b/src/protocols/msn/utils.h 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