diff options
author | Michael Scott <michael.scott@linaro.org> | 2017-02-07 10:15:25 -0800 |
---|---|---|
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2017-02-08 10:12:36 +0200 |
commit | 6a3b3f0e462745ca0a7bbb0fd03a9e7dcdb6c76f (patch) | |
tree | 8b3e2965958d8ec70ddf6ba04f214d391f41b9b8 /samples | |
parent | a2e9dd1361a2cbee12b4af093825098ed10f98a2 (diff) |
samples: net: irc_bot: fix build break
Fix build break introduced in commit 6b013c4721c5
("net: nbuf: Add timeout to net_buf getters")
Change-Id: Iaa521c6a49ae740eaee5276936442ab8aa4c47ba
Signed-off-by: Michael Scott <michael.scott@linaro.org>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/net/irc_bot/src/irc-bot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/net/irc_bot/src/irc-bot.c b/samples/net/irc_bot/src/irc-bot.c index 8b6edb87e..9db276d1a 100644 --- a/samples/net/irc_bot/src/irc-bot.c +++ b/samples/net/irc_bot/src/irc-bot.c @@ -151,7 +151,7 @@ transmit(struct net_context *ctx, char buffer[], size_t len) return -ENOMEM; } - if (!net_nbuf_append(send_buf, len, buffer), K_FOREVER) { + if (!net_nbuf_append(send_buf, len, buffer, K_FOREVER)) { return -EINVAL; } |