diff options
author | Simo Sorce <idra@samba.org> | 2001-07-03 00:54:55 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2001-07-03 00:54:55 +0000 |
commit | 9b70d328cbe3a48cde2821db4293ee6a974ac86d (patch) | |
tree | 8d7d7b08a65c6fe5e42c652cc7662758a27f0c68 | |
parent | 6daea198a8cf7daadd014420ec22e29aba6ca0ad (diff) | |
download | samba-9b70d328cbe3a48cde2821db4293ee6a974ac86d.tar.gz samba-9b70d328cbe3a48cde2821db4293ee6a974ac86d.tar.bz2 samba-9b70d328cbe3a48cde2821db4293ee6a974ac86d.zip |
- sorry, forgot to check a pointer
(This used to be commit 4e0299d4c091bc4a63740f12588675507601e8cd)
-rw-r--r-- | source3/lib/interface.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/lib/interface.c b/source3/lib/interface.c index 48070c4446..e16afa45af 100644 --- a/source3/lib/interface.c +++ b/source3/lib/interface.c @@ -215,9 +215,11 @@ void load_interfaces(void) return; } - while (*ptr) { - interpret_interface(*ptr); - ptr++; + if (ptr) { + while (*ptr) { + interpret_interface(*ptr); + ptr++; + } } if (!local_interfaces) { |