diff options
author | Jeremy Allison <jra@samba.org> | 2000-12-09 06:34:59 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-12-09 06:34:59 +0000 |
commit | f575f4d67a5b45e47c29de30f02901c55cef4621 (patch) | |
tree | f60f91a3c95df20b28b5f8869e3426b3c2c2fc7a /source/lib | |
parent | e6a1a1e444631f0d674f33b5b8d1d71435de0511 (diff) | |
download | samba-f575f4d67a5b45e47c29de30f02901c55cef4621.tar.gz samba-f575f4d67a5b45e47c29de30f02901c55cef4621.tar.xz samba-f575f4d67a5b45e47c29de30f02901c55cef4621.zip |
Fixed typo causing coredump in file_lines_parse.
Jeremy.
Diffstat (limited to 'source/lib')
-rw-r--r-- | source/lib/util_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util_file.c b/source/lib/util_file.c index 1184dd0634e..023f3e131c6 100644 --- a/source/lib/util_file.c +++ b/source/lib/util_file.c @@ -435,7 +435,7 @@ static char **file_lines_parse(char *p, size_t size, int *numlines, BOOL convert } if (convert) { - for (i = 0; i < *numlines; i++) + for (i = 0; ret[i]; i++) unix_to_dos(ret[i], True); } |