[TBT][DNS-SD/SSDP][TFDF-6337: SSDP Remote - Guide not same screen display] 39/216139/2
authorABHISHEK JAIN <j.abhishek@samsung.com>
Mon, 21 Oct 2019 08:58:37 +0000 (14:28 +0530)
committershobhit verma <shobhit.v@samsung.com>
Mon, 21 Oct 2019 11:47:02 +0000 (11:47 +0000)
Change-Id: Ic151d1514a0c1c2d26c45fe3e29561e96591f23a
Signed-off-by: ABHISHEK JAIN <j.abhishek@samsung.com>
release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk
release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk
tbtcoreapp/src/model/tbt-list.c
tbtcoreapp/src/view/tbt-push-view.c

index 25890d6df6cd626ad9e8aabcb371ebc642b560b8..9a9a53283a5e1d7884e8ee941255061c0cddcc86 100644 (file)
Binary files a/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk and b/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk differ
index 5c201de0a3a79fa038a3bed98f2763938249613e..b76282570f8b5511b2eabf27f0fe2e835c36cb18 100644 (file)
Binary files a/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk and b/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk differ
index da9b46688e85fe3e7face57b69fb1d9faf2326bc..d5a830aa4425137f5e4553ec4c92df265a853398 100644 (file)
@@ -2033,8 +2033,8 @@ static tbt_info tbtapps[] =
                        .apptype = TBT_APP_NSD_SSDP_REMOTE,
                        .icon_name = "dummy",
                        .info = "1. Connect test device to a <b>Wi-Fi network</b> same as <b>DNS-SD Local</b> module connected in.<br/>"
-                                       "2.     “dnssd initialized” will be shown in bottom list.<br/>"
-                                       "3.     Press <b>Add Record</b> button. Then, “local service registered” will be seen in bottom list and in top list added text with key value pair will be seen.",
+                                       "2.     “ssdp initialized” will be shown in bottom list.<br/>"
+                                       "3.     Press <b>Add Service</b> button. Then, “service created” will be seen in bottom list and in top list added url, usn will be seen.",
                        .result = 0,
                        .required_features_count = 1,
                        .features_required = {FEATURE_NETWORK_SERVICE_DISCOVERY_SSDP}
index 824b719c405c5728c52a0dd99610184876b589ad..c6a8138d0c30858c2e765427b46a83d2d06bd596 100644 (file)
@@ -250,6 +250,9 @@ static char* get_xml_element_value (xmlDocPtr doc, xmlNodePtr cur, const char* t
         while (cur != NULL) {
            if ((!xmlStrcmp(cur->name, (const xmlChar *)tag))) {
                    key = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1);
+                       if(!key) {
+                               return NULL;
+                       }
                    str = strdup((char*)key);
                    xmlFree(key);
            }