]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/bsys.c
Tweak mutex order for SD
[bacula/bacula] / bacula / src / lib / bsys.c
index 730999310f486cc2c645c6d0644db0881fac4050..fe86199db3353d50c0c6bca831316ee8bc1d7eb0 100644 (file)
@@ -105,6 +105,11 @@ char *bstrncpy(char *dest, POOL_MEM &src, int maxlen)
    return dest;
 }
 
+/*
+ * Note: Here the maxlen is the maximum length permitted
+ *  stored in dest, while on Unix systems, it is the maximum characters
+ *  that may be copied from src.
+ */
 char *bstrncat(char *dest, const char *src, int maxlen)
 {
    int len = strlen(dest);