minor: spelling changes in some comments/messages
This commit is contained in:
parent
4d920466f7
commit
d506f4a569
|
@ -437,7 +437,7 @@ static void http_dirls_sort(dirls_entry_t **ent, int num) {
|
|||
* conversion is simple but not perfect
|
||||
*/
|
||||
static int http_list_directory_sizefmt(char *buf, size_t bufsz, off_t size) {
|
||||
const char unit[] = " KMGTPE"; /* Kilo, Mega, Tera, Peta, Exa */
|
||||
const char unit[] = " KMGTPE"; /* Kilo, Mega, Giga, Tera, Peta, Exa */
|
||||
const char *u = unit; /* u will always increment at least once */
|
||||
int remain;
|
||||
size_t buflen;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
/**
|
||||
* this is a skeleton for a lighttpd plugin
|
||||
*
|
||||
* just replaces every occurance of 'skeleton' by your plugin name
|
||||
* just replaces every occurrence of 'skeleton' by your plugin name
|
||||
*
|
||||
* e.g. in vim:
|
||||
*
|
||||
|
|
|
@ -253,7 +253,7 @@ SETDEFAULTS_FUNC(mod_trigger_b4_dl_set_defaults) {
|
|||
|
||||
#if (!defined(HAVE_GDBM_H) && !defined(USE_MEMCACHED)) || !defined(HAVE_PCRE_H)
|
||||
log_error_write(srv, __FILE__, __LINE__, "s",
|
||||
"(either gdbm or libmemcache) and pcre are require, but were not found, aborting");
|
||||
"(either gdbm or libmemcached) and pcre are require, but were not found, aborting");
|
||||
return HANDLER_ERROR;
|
||||
#endif
|
||||
}
|
||||
|
@ -608,7 +608,7 @@ int mod_trigger_b4_dl_plugin_init(plugin *p) {
|
|||
|
||||
#else
|
||||
|
||||
#pragma message("(either gdbm or libmemcache) and pcre are required, but were not found")
|
||||
#pragma message("(either gdbm or libmemcached) and pcre are required, but were not found")
|
||||
|
||||
int mod_trigger_b4_dl_plugin_init(plugin *p);
|
||||
int mod_trigger_b4_dl_plugin_init(plugin *p) {
|
||||
|
|
Loading…
Reference in New Issue