aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-02-14 20:01:53 -0800
committerGravatar ncteisen <ncteisen@gmail.com>2018-02-14 20:01:53 -0800
commitff19019e50d25cf6d4d7b8123386104c6457f4a2 (patch)
tree5847480143238e6452832a08f4edb978c9398ea1
parentbf323a985f0a6f2ab81fe07a790959aee743791d (diff)
Add clarifying comment
-rw-r--r--src/core/lib/channel/channel_args.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/channel/channel_args.h b/src/core/lib/channel/channel_args.h
index e2a9478115..c59bd0c7e7 100644
--- a/src/core/lib/channel/channel_args.h
+++ b/src/core/lib/channel/channel_args.h
@@ -110,7 +110,8 @@ int grpc_channel_arg_get_integer(const grpc_arg* arg,
const grpc_integer_options options);
/** Returns the value of \a arg if \a arg is of type GRPC_ARG_STRING.
- Otherwise, emits a warning log, and returns nullptr */
+ Otherwise, emits a warning log, and returns nullptr.
+ If arg is nullptr, returns nullptr, and does not emit a warning. */
char* grpc_channel_arg_get_string(const grpc_arg* arg);
bool grpc_channel_arg_get_bool(const grpc_arg* arg, bool default_value);