Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lundmar committed Dec 31, 2017
1 parent 6b98d93 commit cc7090a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/vxi11.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,29 +197,31 @@ int vxi11_receive(void *data, char *message, int length, int timeout)

int vxi11_lock(void *data)
{

return 0;
}

int vxi11_unlock(void *data)
{

return 0;
}

static xmlChar *get_element_value(xmlDocPtr doc, xmlChar *element)
{
xmlNodePtr node;
xmlChar *value;
xmlChar *value = NULL;
node = xmlDocGetRootElement(doc);
node = node->xmlChildrenNode;
while (node != NULL)
{
if ((!xmlStrcmp(node->name, element)))
{
value = xmlNodeListGetString(doc, node->xmlChildrenNode, 1);
return value;
break;
}
node = node->next;
}

return value;
}

static int get_device_id(char *address, char *id, int timeout)
Expand Down

0 comments on commit cc7090a

Please sign in to comment.