diff options
author | Thomas Graf <tgraf@suug.ch> | 2010-11-22 12:13:04 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2010-11-22 12:13:04 (GMT) |
commit | e52a09c5078364f0a645f407c797e68a2c1d5f04 (patch) | |
tree | 41ec65416103c790722d9e616cff4dbe087aaace /lib/nl.c | |
parent | 6545206187c97136d69c5a456257cafa104667bc (diff) | |
download | libnl-e52a09c5078364f0a645f407c797e68a2c1d5f04.zip libnl-e52a09c5078364f0a645f407c797e68a2c1d5f04.tar.gz libnl-e52a09c5078364f0a645f407c797e68a2c1d5f04.tar.bz2 |
nl: rename nlmsg_msg_size() to nlmsg_size(), nlmsg_len() -> nlmsg_datalen()
The old symbols are left around for compatibility.
Diffstat (limited to 'lib/nl.c')
-rw-r--r-- | lib/nl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -637,7 +637,7 @@ continue_reading: else if (hdr->nlmsg_type == NLMSG_ERROR) { struct nlmsgerr *e = nlmsg_data(hdr); - if (hdr->nlmsg_len < nlmsg_msg_size(sizeof(*e))) { + if (hdr->nlmsg_len < nlmsg_size(sizeof(*e))) { /* Truncated error message, the default action * is to stop parsing. The user may overrule * this action by returning NL_SKIP or |