X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=ipc.c;h=9b38c1318541d24a5686c76eccfc330a3a204177;hb=5874e6d96f97e2dc7bb0771408b298ae5f4e00ed;hp=f54faa39eb2fee4e3097cddb849910f0fce3f86c;hpb=1f5ecfacc341f893d73caa0a613d553af33a6cc9;p=dss.git 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;