mirror of git://git.sysmocom.de/ofono
ste: Remove stray newlines in messages sent to log
This commit is contained in:
parent
6a6f7bed3c
commit
44c6918081
|
@ -155,7 +155,7 @@ static int add_attribute(struct nlmsghdr *n, unsigned int maxlen, int type,
|
||||||
struct rtattr *rta;
|
struct rtattr *rta;
|
||||||
|
|
||||||
if ((NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len)) > maxlen) {
|
if ((NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len)) > maxlen) {
|
||||||
DBG("attribute to large for message %d %d %d\n",
|
DBG("attribute to large for message %d %d %d",
|
||||||
n->nlmsg_len, len, maxlen);
|
n->nlmsg_len, len, maxlen);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -130,7 +130,7 @@ static void text_handler(GMarkupParseContext *context,
|
||||||
static void error_handler(GMarkupParseContext *context,
|
static void error_handler(GMarkupParseContext *context,
|
||||||
GError *error, gpointer user_data)
|
GError *error, gpointer user_data)
|
||||||
{
|
{
|
||||||
DBG("Error parsing xml response from eppsd: %s\n",
|
DBG("Error parsing xml response from eppsd: %s",
|
||||||
error->message);
|
error->message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue