Software /
code /
prosody
Comparison
core/storagemanager.lua @ 5110:72a7427368f8
storagemanager: Fix indentation
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 31 Aug 2012 17:22:03 +0200 |
parent | 5041:be204204cc5f |
child | 5111:7e577727fb9f |
comparison
equal
deleted
inserted
replaced
5107:6ac790efecd3 | 5110:72a7427368f8 |
---|---|
76 log("warn", "Falling back to null driver for %s storage on %s", store, host); | 76 log("warn", "Falling back to null driver for %s storage on %s", store, host); |
77 driver_name = "null"; | 77 driver_name = "null"; |
78 driver = null_storage_driver; | 78 driver = null_storage_driver; |
79 end | 79 end |
80 return driver, driver_name; | 80 return driver, driver_name; |
81 end | 81 end |
82 | 82 |
83 function open(host, store, typ) | 83 function open(host, store, typ) |
84 local driver, driver_name = get_driver(host, store); | 84 local driver, driver_name = get_driver(host, store); |
85 local ret, err = driver:open(store, typ); | 85 local ret, err = driver:open(store, typ); |
86 if not ret then | 86 if not ret then |
87 if err == "unsupported-store" then | 87 if err == "unsupported-store" then |