diff options
author | Tim Potter <tpot@samba.org> | 2000-05-05 04:18:22 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-05-05 04:18:22 +0000 |
commit | b531ddb2657e9eac1c1e9f32344b67c3963ce30a (patch) | |
tree | fef3bf78a22aa8dacff00c9eda516e4515b9b848 /source/param | |
parent | b899943658bee90994b416aa6caff0ee7cab5f28 (diff) | |
download | samba-b531ddb2657e9eac1c1e9f32344b67c3963ce30a.tar.gz samba-b531ddb2657e9eac1c1e9f32344b67c3963ce30a.tar.xz samba-b531ddb2657e9eac1c1e9f32344b67c3963ce30a.zip |
Fix for crash bug in OpenConfFile() if no smb.conf exists.
Diffstat (limited to 'source/param')
-rw-r--r-- | source/param/params.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/param/params.c b/source/param/params.c index 8e926217911..1cf3aa9eb12 100644 --- a/source/param/params.c +++ b/source/param/params.c @@ -537,7 +537,7 @@ static myFILE *OpenConfFile( char *FileName ) ("%s Unable to open configuration file \"%s\":\n\t%s\n", func, FileName, strerror(errno)) ); free(ret); - ret = NULL; + return NULL; } ret->p = ret->buf; |