diff options
Diffstat (limited to 'source/lib/util_file.c')
-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 4c3ea09df90..f3d8afde5d4 100644 --- a/source/lib/util_file.c +++ b/source/lib/util_file.c @@ -339,7 +339,7 @@ char *fgets_slash(char *s2,int maxlen,FILE *f) char *t; maxlen *= 2; - s = (char *)Realloc(s,maxlen); + t = (char *)Realloc(s,maxlen); if (!t) { DEBUG(0,("fgets_slash: failed to expand buffer!\n")); if (s) |