]> arthur.barton.de Git - netatalk.git/commitdiff
Fix CNID path for user homes
authorFrank Lahm <franklahm@googlemail.com>
Mon, 2 Jul 2012 14:25:28 +0000 (16:25 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Mon, 2 Jul 2012 14:25:28 +0000 (16:25 +0200)
NEWS
libatalk/util/netatalk_conf.c

diff --git a/NEWS b/NEWS
index 4c6e3dd2cf8aae37f878923a39e6c4e16577866d..0a5302085c381574def432bb02913e1ddf9ff7fc 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,8 @@
-Changes in 3.0 beta3
-====================
+Changes in 3.0
+==============
 * UPD: read only mode if cnid scheme is last
 * REM: global option "icon"
+* FIX: CNID path for user homes
 
 Changes in 3.0 beta2
 ====================
index 4479116991d27a422638fb33700b7e64d5e86f2b..fdb18f27e5cd2d1a3e113d9b24a89f99d502bc6d 100644 (file)
@@ -1333,7 +1333,7 @@ struct vol *getvolbypath(AFPObj *obj, const char *path)
         subpath = prw;
 
     strlcat(tmpbuf, user, MAXPATHLEN);
-    strlcat(obj->username, user, MAXUSERLEN);
+    strlcpy(obj->username, user, MAXUSERLEN);
     strlcat(tmpbuf, "/", MAXPATHLEN);
 
     /* (6) */