Skip to content

Commit

Permalink
Merge branch 'jb46818' into 'master'
Browse files Browse the repository at this point in the history
Align with libwbxml 0.11.6 API

See merge request mer-core/provisioning-service!8
  • Loading branch information
llewelld committed Feb 13, 2020
2 parents 2126123 + e6d34f8 commit 368e97e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion rpm/provisioning-service.spec
Expand Up @@ -7,7 +7,7 @@ License: GPLv2
URL: https://git.merproject.org/mer-core/provisioning-service
Source0: %{name}-%{version}.tar.bz2
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libwbxml2)
BuildRequires: pkgconfig(libwbxml2) >= 0.11.6
BuildRequires: pkgconfig(libgofono) >= 2.0.5
BuildRequires: pkgconfig(libglibutil)
Requires: libgofono >= 2.0.5
Expand Down
9 changes: 4 additions & 5 deletions src/provisioning-decoder.c
Expand Up @@ -14,7 +14,8 @@
#include "provisioning-decoder.h"
#include "log.h"

#include <wbxml.h>
#include <wbxml/wbxml.h>
#include <wbxml/wbxml_parser.h>

#define APPID_INTERNET "w2"
#define APPID_MMS_1 "w4"
Expand Down Expand Up @@ -107,8 +108,7 @@ void
provisioning_wbxml_start_element(
void *ctx,
WBXMLTag *tag,
WBXMLAttribute **atts,
WB_BOOL empty)
WBXMLAttribute **atts)
{
struct provisioning_wbxml_context *context = ctx;
const char *elem = (char*)wbxml_tag_get_xml_name(tag);
Expand Down Expand Up @@ -158,8 +158,7 @@ static
void
provisioning_wbxml_end_element(
void *ctx,
WBXMLTag *tag,
WB_BOOL empty)
WBXMLTag *tag)
{
struct provisioning_wbxml_context *context = ctx;
const char *elem = (char*)wbxml_tag_get_xml_name(tag);
Expand Down

0 comments on commit 368e97e

Please sign in to comment.