comparison src/protocols/msn/user.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 4c94e3f9f91c
comparison
equal deleted inserted replaced
9197:ec417d2f9666 9198:ab6636c5a136
1 /** 1 /**
2 * @file user.c User functions 2 * @file user.c User functions
3 * 3 *
4 * gaim 4 * gaim
5 * 5 *
6 * Copyright (C) 2003-2004 Christian Hammond <chipx86@gnupdate.org> 6 * Gaim is the legal property of its developers, whose names are too numerous
7 * to list here. Please refer to the COPYRIGHT file distributed with this
8 * source distribution.
7 * 9 *
8 * This program is free software; you can redistribute it and/or modify 10 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by 11 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or 12 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version. 13 * (at your option) any later version.
143 msn_object_set_location(msnobj, "TFR2C2.tmp"); 145 msn_object_set_location(msnobj, "TFR2C2.tmp");
144 msn_object_set_creator(msnobj, msn_user_get_passport(user)); 146 msn_object_set_creator(msnobj, msn_user_get_passport(user));
145 147
146 msn_user_set_object(user, msnobj); 148 msn_user_set_object(user, msnobj);
147 } 149 }
148 150
149 msn_object_set_real_location(msnobj, filename); 151 msn_object_set_real_location(msnobj, filename);
150 152
151 buf = g_malloc(st.st_size); 153 buf = g_malloc(st.st_size);
152 len = fread(buf, 1, st.st_size, fp); 154 len = fread(buf, 1, st.st_size, fp);
153 155
211 user->group_ids = g_list_append(user->group_ids, GINT_TO_POINTER(id)); 213 user->group_ids = g_list_append(user->group_ids, GINT_TO_POINTER(id));
212 214
213 userlist = user->userlist; 215 userlist = user->userlist;
214 account = userlist->session->account; 216 account = userlist->session->account;
215 passport = msn_user_get_passport(user); 217 passport = msn_user_get_passport(user);
216 218
217 group_name = msn_userlist_find_group_name(userlist, id); 219 group_name = msn_userlist_find_group_name(userlist, id);
218 220
219 g = gaim_find_group(group_name); 221 g = gaim_find_group(group_name);
220 222
221 b = gaim_find_buddy_in_group(account, passport, g); 223 b = gaim_find_buddy_in_group(account, passport, g);