aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llapr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llcommon/llapr.cpp')
-rw-r--r--linden/indra/llcommon/llapr.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/llcommon/llapr.cpp b/linden/indra/llcommon/llapr.cpp
index a577cc7..2a81e5e 100644
--- a/linden/indra/llcommon/llapr.cpp
+++ b/linden/indra/llcommon/llapr.cpp
@@ -293,6 +293,7 @@ bool ll_apr_file_remove(const LLString& filename, apr_pool_t* pool)
293 if (s != APR_SUCCESS) 293 if (s != APR_SUCCESS)
294 { 294 {
295 llwarns << "ll_apr_file_remove failed on file: " << filename << llendl; 295 llwarns << "ll_apr_file_remove failed on file: " << filename << llendl;
296 ll_apr_warn_status(s);
296 return false; 297 return false;
297 } 298 }
298 return true; 299 return true;
@@ -306,6 +307,7 @@ bool ll_apr_file_rename(const LLString& filename, const LLString& newname, apr_p
306 if (s != APR_SUCCESS) 307 if (s != APR_SUCCESS)
307 { 308 {
308 llwarns << "ll_apr_file_rename failed on file: " << filename << llendl; 309 llwarns << "ll_apr_file_rename failed on file: " << filename << llendl;
310 ll_apr_warn_status(s);
309 return false; 311 return false;
310 } 312 }
311 return true; 313 return true;
@@ -362,6 +364,7 @@ bool ll_apr_dir_make(const LLString& dirname, apr_pool_t* pool)
362 if (s != APR_SUCCESS) 364 if (s != APR_SUCCESS)
363 { 365 {
364 llwarns << "ll_apr_file_remove failed on file: " << dirname << llendl; 366 llwarns << "ll_apr_file_remove failed on file: " << dirname << llendl;
367 ll_apr_warn_status(s);
365 return false; 368 return false;
366 } 369 }
367 return true; 370 return true;
@@ -375,6 +378,7 @@ bool ll_apr_dir_remove(const LLString& dirname, apr_pool_t* pool)
375 if (s != APR_SUCCESS) 378 if (s != APR_SUCCESS)
376 { 379 {
377 llwarns << "ll_apr_file_remove failed on file: " << dirname << llendl; 380 llwarns << "ll_apr_file_remove failed on file: " << dirname << llendl;
381 ll_apr_warn_status(s);
378 return false; 382 return false;
379 } 383 }
380 return true; 384 return true;