Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/jab_iq.c @ 776:df60fe695dc0
Use PACKAGE_NAME/PACKAGE_VERSION instead of PACKAGE/VERSION
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 25 Mar 2006 20:01:51 +0100 |
parents | 46304b773a44 |
children | 19121d9f4aa2 |
comparison
equal
deleted
inserted
replaced
775:b4befb3052e5 | 776:df60fe695dc0 |
---|---|
466 x = jutil_iqnew(JPACKET__RESULT, NS_VERSION); | 466 x = jutil_iqnew(JPACKET__RESULT, NS_VERSION); |
467 xmlnode_put_attrib(x, "id", id); | 467 xmlnode_put_attrib(x, "id", id); |
468 xmlnode_put_attrib(x, "to", xmlnode_get_attrib(xmldata, "from")); | 468 xmlnode_put_attrib(x, "to", xmlnode_get_attrib(xmldata, "from")); |
469 myquery = xmlnode_get_tag(x, "query"); | 469 myquery = xmlnode_get_tag(x, "query"); |
470 | 470 |
471 xmlnode_insert_cdata(xmlnode_insert_tag(myquery, "name"), PACKAGE, -1); | 471 xmlnode_insert_cdata(xmlnode_insert_tag(myquery, "name"), |
472 xmlnode_insert_cdata(xmlnode_insert_tag(myquery, "version"), VERSION, -1); | 472 PACKAGE_NAME, -1); |
473 xmlnode_insert_cdata(xmlnode_insert_tag(myquery, "version"), | |
474 PACKAGE_VERSION, -1); | |
473 if (os) { | 475 if (os) { |
474 xmlnode_insert_cdata(xmlnode_insert_tag(myquery, "os"), os, -1); | 476 xmlnode_insert_cdata(xmlnode_insert_tag(myquery, "os"), os, -1); |
475 g_free(os); | 477 g_free(os); |
476 } | 478 } |
477 | 479 |