Software /
code /
prosody
Comparison
core/storagemanager.lua @ 4077:ba3ab4ecce34
storagemanager: Fix log message (s/internal/null/)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 06 Jan 2011 14:01:57 +0000 |
parent | 4076:00ce99071368 |
child | 4085:7699cef04740 |
comparison
equal
deleted
inserted
replaced
4076:00ce99071368 | 4077:ba3ab4ecce34 |
---|---|
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 |