diff options
| author | Jim Meyering <meyering@redhat.com> | 2012-06-04 15:04:01 +0200 |
|---|---|---|
| committer | Anand Avati <avati@redhat.com> | 2012-07-02 15:29:58 -0700 |
| commit | d1610978436dda903e50552eed0cb8116dae88b9 (patch) | |
| tree | 2e441179fcedb614a7774c83c305664cc5288d6d /libglusterfsclient/src/libglusterfsclient.c | |
| parent | b583363dcc0cf87b4ca27b99bca532da764e3a07 (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
