The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/1647

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Fix issue: https://github.com/lxc/lxc/issues/505

Signed-off-by: 0x0916 <[email protected]>
From 13a4215bfb8af343c132fba7a8247f95ada137ea Mon Sep 17 00:00:00 2001
From: 0x0916 <[email protected]>
Date: Mon, 26 Jun 2017 17:28:47 +0800
Subject: [PATCH] API doc: update note for get_config_item

Fix issue: https://github.com/lxc/lxc/issues/505

Signed-off-by: 0x0916 <[email protected]>
---
 src/lxc/lxccontainer.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lxc/lxccontainer.h b/src/lxc/lxccontainer.h
index 11f5523af..fe8e73811 100644
--- a/src/lxc/lxccontainer.h
+++ b/src/lxc/lxccontainer.h
@@ -408,8 +408,8 @@ struct lxc_container {
         *  \p retv by initially passing its value as \c NULL and considering 
the return value.
         *  This function can then be called again passing a newly-allocated 
suitably-sized buffer.
         * \note If \p retv is NULL, \p inlen is ignored.
-        * \note If \p inlen is smaller than required, the value written
-        *  to \p retv will be truncated.
+        * \note If \p inlen is smaller than required, nothing will be written 
to \p retv and still return
+        *  the length of config item value.
         */
        int (*get_config_item)(struct lxc_container *c, const char *key, char 
*retv, int inlen);
 
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to