Skip to content

Commit

Permalink
Mark the strings "static".
Browse files Browse the repository at this point in the history
  • Loading branch information
soheilhy committed Aug 5, 2019
1 parent f43f131 commit a85c6d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/grpc/grpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,7 @@ GRPCAPI void grpc_channel_ping(grpc_channel* channel, grpc_completion_queue* cq,
void* tag, void* reserved);

/** Pre-register a method/host pair on a channel.
method and host are not owned and must remain valid while the channel is
alive. */
method and host are not owned and must be static strings. */
GRPCAPI void* grpc_channel_register_call(grpc_channel* channel,
const char* method, const char* host,
void* reserved);
Expand Down

0 comments on commit a85c6d0

Please sign in to comment.