mcabber/src/xmpp_iq.c
changeset 1599 dcd5d4c75199
parent 1598 a087125d8fc8
child 1600 c5ee395fbc8c
equal deleted inserted replaced
1598:a087125d8fc8 1599:dcd5d4c75199
     1 /* See xmpp.c file for copyright and license details. */
     1 /*
       
     2  * xmpp_iq.c    -- Jabber protocol IQ-related stuff
       
     3  *
       
     4  * Copyright (C) 2008-2009 Frank Zschockelt <mcabber@freakysoft.de>
       
     5  * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net>
       
     6  * Parts come from the centericq project:
       
     7  * Copyright (C) 2002-2005 by Konstantin Klyagin <konst@konst.org.ua>
       
     8  * Some small parts come from the Pidgin project <http://pidgin.im/>
       
     9  *
       
    10  * This program is free software; you can redistribute it and/or modify
       
    11  * it under the terms of the GNU General Public License as published by
       
    12  * the Free Software Foundation; either version 2 of the License, or (at
       
    13  * your option) any later version.
       
    14  *
       
    15  * This program is distributed in the hope that it will be useful, but
       
    16  * WITHOUT ANY WARRANTY; without even the implied warranty of
       
    17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    18  * General Public License for more details.
       
    19  *
       
    20  * You should have received a copy of the GNU General Public License
       
    21  * along with this program; if not, write to the Free Software
       
    22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
       
    23  * USA
       
    24  */
     2 
    25 
     3 static LmHandlerResult handle_iq_command_set_status(LmMessageHandler *h,
    26 static LmHandlerResult handle_iq_command_set_status(LmMessageHandler *h,
     4                                                     LmConnection *c,
    27                                                     LmConnection *c,
     5                                                     LmMessage *m,
    28                                                     LmMessage *m,
     6                                                     gpointer ud);
    29                                                     gpointer ud);
   816   lm_connection_send(c, r, NULL);
   839   lm_connection_send(c, r, NULL);
   817   lm_message_unref(r);
   840   lm_message_unref(r);
   818   g_free(buf);
   841   g_free(buf);
   819   return LM_HANDLER_RESULT_REMOVE_MESSAGE;
   842   return LM_HANDLER_RESULT_REMOVE_MESSAGE;
   820 }
   843 }
       
   844 
       
   845 /* vim: set expandtab cindent cinoptions=>2\:2(0:  For Vim users... */