X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=ipc.c;h=9b38c1318541d24a5686c76eccfc330a3a204177;hp=f54faa39eb2fee4e3097cddb849910f0fce3f86c;hb=54914a45725755f4b689465951cde2b4bffe7a3d;hpb=1f5ecfacc341f893d73caa0a613d553af33a6cc9 diff --git a/ipc.c b/ipc.c index f54faa3..9b38c13 100644 --- a/ipc.c +++ b/ipc.c @@ -205,7 +205,7 @@ static int dss_realpath(const char *name, char **resolved_path) /* Careful here, end may be a pointer into extra_buf... */ memmove(&extra_buf[n], end, len + 1); - name = end = memcpy(extra_buf, buf, n); + end = memcpy(extra_buf, buf, n); if (buf[0] == '/') /* It's an absolute symlink */ dest = rpath + 1;