aboutsummaryrefslogtreecommitdiff
path: root/src/common/dns_utils.cpp
diff options
context:
space:
mode:
authorwarptangent <warptangent@inbox.com>2015-08-16 18:16:20 -0700
committerwarptangent <warptangent@inbox.com>2015-08-16 18:52:54 -0700
commit7c4d6f1dc62b11cc852ea0cbd9de672a085214c2 (patch)
treeab42a25efd7ca5f08f50ae9368242366014e78fa /src/common/dns_utils.cpp
parentb5b0f0857a281d90702e2db0a7c3a855f90c7a21 (diff)
downloadmonzero-core-7c4d6f1dc62b11cc852ea0cbd9de672a085214c2.tar.gz
monzero-core-7c4d6f1dc62b11cc852ea0cbd9de672a085214c2.tar.xz
monzero-core-7c4d6f1dc62b11cc852ea0cbd9de672a085214c2.zip
simplewallet: Use default log file name when executable's file path is unknown
Default to "simplewallet.log" in current directory when file path isn't obtained from epee. In this situation previously, it defaulted to the file name of ".log" ("" + ".log") in the current directory. (Thanks to @sammy007 for reporting bug.) An earlier version yet used "" + "/" + ".log" = "/.log", which resulted in silently not logging in most cases, due to lack of permission. Test: PATH=$PATH:</path/to/simplewallet/folder> && simplewallet --wallet-file /dev/null This results in epee not finding the executable's file path, so simplewallet will now use a default log filename.
Diffstat (limited to 'src/common/dns_utils.cpp')
0 files changed, 0 insertions, 0 deletions