Mercurial > pidgin
diff src/protocols/msn/slplink.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 | ec2a51abcc71 |
line wrap: on
line diff
--- 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);