Mercurial > pidgin.yaz
comparison libpurple/xmlnode.c @ 15916:8bcd5840fb12
Don't advertise that we support the adverts, invite and translate
families for oscar. This makes us a little easier to identify...
but I don't believe AOL will come after us.
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sun, 25 Mar 2007 06:24:04 +0000 |
| parents | 32c366eeeb99 |
| children | 4be5d38ee117 |
comparison
equal
deleted
inserted
replaced
| 15915:bc25193e1cb3 | 15916:8bcd5840fb12 |
|---|---|
| 25 /* A lot of this code at least resembles the code in libxode, but since | 25 /* A lot of this code at least resembles the code in libxode, but since |
| 26 * libxode uses memory pools that we simply have no need for, I decided to | 26 * libxode uses memory pools that we simply have no need for, I decided to |
| 27 * write my own stuff. Also, re-writing this lets me be as lightweight | 27 * write my own stuff. Also, re-writing this lets me be as lightweight |
| 28 * as I want to be. Thank you libxode for giving me a good starting point */ | 28 * as I want to be. Thank you libxode for giving me a good starting point */ |
| 29 | 29 |
| 30 #include "debug.h" | |
| 30 #include "internal.h" | 31 #include "internal.h" |
| 31 | 32 |
| 32 #include <libxml/parser.h> | 33 #include <libxml/parser.h> |
| 33 #include <string.h> | 34 #include <string.h> |
| 34 #include <glib.h> | 35 #include <glib.h> |
| 451 int nb_attributes, int nb_defaulted, const xmlChar **attributes) | 452 int nb_attributes, int nb_defaulted, const xmlChar **attributes) |
| 452 { | 453 { |
| 453 struct _xmlnode_parser_data *xpd = user_data; | 454 struct _xmlnode_parser_data *xpd = user_data; |
| 454 xmlnode *node; | 455 xmlnode *node; |
| 455 int i; | 456 int i; |
| 457 | |
| 458 purple_debug_error("MARK", "\nelement_name=%s, prefix=%s, xmlns=%s\n", element_name, prefix, xmlns); | |
| 456 | 459 |
| 457 if(!element_name || xpd->error) { | 460 if(!element_name || xpd->error) { |
| 458 return; | 461 return; |
| 459 } else { | 462 } else { |
| 460 if(xpd->current) | 463 if(xpd->current) |
