diff options
author | dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-05 16:58:03 +0000 |
---|---|---|
committer | dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-05 16:58:03 +0000 |
commit | d754468e298ac6c25263bcb5f97c31a13332371a (patch) | |
tree | 5996dff16f7e197296cf75e902d5426e91ec554f /src/datafiles.c | |
parent | 7a731e504b9bbb791b6e50701d5d12e9e37833cf (diff) |
BUILD : 1.7.9 (776) BUGS : none NOTES : Prepended all debug messages for consistency.
git-svn-id: svn://svn.anope.org/anope/trunk@776 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@536 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/datafiles.c')
-rw-r--r-- | src/datafiles.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/datafiles.c b/src/datafiles.c index d8dd30654..5ccbe95ee 100644 --- a/src/datafiles.c +++ b/src/datafiles.c @@ -133,7 +133,7 @@ static dbFILE *open_db_write(const char *service, const char *filename, /* Get the current working directory: */ if (_getcwd(buffer, _MAX_PATH) == NULL) { - alog("debug: Unable to set Current working directory"); + alog("Warning: Unable to set Current working directory"); } #endif @@ -192,16 +192,16 @@ static dbFILE *open_db_write(const char *service, const char *filename, #ifdef _WIN32 if (debug) { if (errno == ENOENT) { - alog("Error %d (ENOENT) : the file or directory does not exist", errno, filename); + alog("debug: Error %d (ENOENT) : the file or directory does not exist", errno, filename); } else if (errno == EACCES) { - alog("Error %d (EACCES) : error while attempting to access file", errno); + alog("debug: Error %d (EACCES) : error while attempting to access file", errno); } else { - alog("Error %d", errno); + alog("debug: Error %d", errno); } } #else if (debug) { - alog("Error %d", errno); + alog("debug: Error %d", errno); } #endif errno = errno_save; |