summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient/src/libglusterfsclient.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-06-04 15:04:01 +0200
committerAnand Avati <avati@redhat.com>2012-07-02 15:29:58 -0700
commitd1610978436dda903e50552eed0cb8116dae88b9 (patch)
tree2e441179fcedb614a7774c83c305664cc5288d6d /libglusterfsclient/src/libglusterfsclient.c
parentb583363dcc0cf87b4ca27b99bca532da764e3a07 (diff)
posix: avoid unnecessary strncpy
When strlen(SRC) < LEN, using strncpy is misleading. Use strcpy instead. Change-Id: I76832353dc415de99f0583d085d5c2444d5fe8b0 BUG: 789278 Signed-off-by: Jim Meyering <meyering@redhat.com> Reviewed-on: http://review.gluster.com/3587 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient.c')
0 files changed, 0 insertions, 0 deletions