diff options
author | Jeremy Allison <jra@samba.org> | 2000-12-12 19:44:50 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-12-12 19:44:50 +0000 |
commit | 40890119643b6a44ff381d50db4f446c334ce75e (patch) | |
tree | f091e9e0f85bbb57571f2b0be3ccb3e1c61999dc /source3/smbd/dfree.c | |
parent | ae7f08398be76b4a62c464ff074077fdf6e320cf (diff) | |
download | samba-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/smbd/dfree.c')
-rw-r--r-- | source3/smbd/dfree.c | 2 |
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)); |