Changeset e5a8118 for protocols/msn/sb.c


Ignore:
Timestamp:
2010-03-20T17:27:23Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
ffb6dea
Parents:
21029d0
Message:

Added soap.c with a fairly reusable SOAP framework and simple code for
sending offline messages. It works somewhat, just that Pidgin shows the
messages as empty. :-(

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/sb.c

    r21029d0 re5a8118  
    2929#include "passport.h"
    3030#include "md5.h"
     31#include "soap.h"
    3132
    3233static gboolean msn_sb_callback( gpointer data, gint source, b_input_condition cond );
     
    606607                const struct msn_status_code *err = msn_status_by_number( num );
    607608               
     609                if( num == 217 )
     610                {
     611                        GSList *l;
     612                       
     613                        for( l = sb->msgq; l; l = l->next )
     614                        {
     615                                struct msn_message *m = l->data;
     616                                msn_soap_oim_send( ic, m->who, m->text );
     617                        }
     618                }
     619               
    608620                imcb_error( ic, "Error reported by switchboard server: %s", err->text );
    609621               
Note: See TracChangeset for help on using the changeset viewer.