diff options
author | Jeremy Allison <jra@samba.org> | 2000-12-12 19:44:21 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-12-12 19:44:21 +0000 |
commit | d4aa682a2753f03993930189077fb6852084dbe5 (patch) | |
tree | f9f38c294ae253b037f62d8b1f198308ffab3cec | |
parent | a1ce6c209b1528973f638259bfbaebd517d56910 (diff) | |
download | samba-d4aa682a2753f03993930189077fb6852084dbe5.tar.gz samba-d4aa682a2753f03993930189077fb6852084dbe5.tar.xz samba-d4aa682a2753f03993930189077fb6852084dbe5.zip |
Fixed processing of dfree script (was being truncated).
Jeremy.
-rw-r--r-- | source/smbd/dfree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/smbd/dfree.c b/source/smbd/dfree.c index c8c44371554..c523f2cab4b 100644 --- a/source/smbd/dfree.c +++ b/source/smbd/dfree.c @@ -94,8 +94,6 @@ static SMB_BIG_UINT disk_free(char *path, BOOL small_query, lines = file_lines_pload(syscmd, NULL, True); if (lines) { char *line = lines[0]; - if (strlen(line) > 0) - line[strlen(line)-1] = '\0'; DEBUG (3, ("Read input from dfree, \"%s\"\n", line)); |