Software /
code /
prosody
Comparison
core/storagemanager.lua @ 4011:0df6b99cb74a
storagemanager: Fix log message (s/internal/null/)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 06 Jan 2011 14:01:57 +0000 |
parent | 4010:21311bd31f6b |
child | 4085:7699cef04740 |
comparison
equal
deleted
inserted
replaced
4010:21311bd31f6b | 4011:0df6b99cb74a |
---|---|
97 end | 97 end |
98 | 98 |
99 local ret, err = driver:open(store, typ); | 99 local ret, err = driver:open(store, typ); |
100 if not ret then | 100 if not ret then |
101 if err == "unsupported-store" then | 101 if err == "unsupported-store" then |
102 log("debug", "Storage driver %s does not support store %s (%s), falling back to internal driver", | 102 log("debug", "Storage driver %s does not support store %s (%s), falling back to null driver", |
103 driver_name, store, typ); | 103 driver_name, store, typ); |
104 ret = null_storage_driver; | 104 ret = null_storage_driver; |
105 err = nil; | 105 err = nil; |
106 end | 106 end |
107 end | 107 end |