summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-12-12 19:44:50 +0000
committerJeremy Allison <jra@samba.org>2000-12-12 19:44:50 +0000
commit40890119643b6a44ff381d50db4f446c334ce75e (patch)
treef091e9e0f85bbb57571f2b0be3ccb3e1c61999dc /source3
parentae7f08398be76b4a62c464ff074077fdf6e320cf (diff)
downloadsamba-40890119643b6a44ff381d50db4f446c334ce75e.tar.gz
samba-40890119643b6a44ff381d50db4f446c334ce75e.tar.bz2
samba-40890119643b6a44ff381d50db4f446c334ce75e.zip
Fixed processing of dfree script (was truncating).
Jeremy. (This used to be commit 1e719a807669876b4d11f4653e9712f25fcba20b)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/dfree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/dfree.c b/source3/smbd/dfree.c
index c8c4437155..c523f2cab4 100644
--- a/source3/smbd/dfree.c
+++ b/source3/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));