danicoin/src/simplewallet
warptangent 7c4d6f1dc6
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.
2015-08-16 18:52:54 -07:00
..
CMakeLists.txt 2014 network limit 1.0a +utils +toc -doc -drmonero 2015-02-20 22:13:00 +01:00
password_container.cpp simplewallet: allow a different password for the watch-only wallet 2015-06-12 16:45:29 +01:00
password_container.h simplewallet: allow a different password for the watch-only wallet 2015-06-12 16:45:29 +01:00
simplewallet.cpp simplewallet: Use default log file name when executable's file path is unknown 2015-08-16 18:52:54 -07:00
simplewallet.h wallet: new rescan_spent command to update outputs' spent status 2015-08-11 15:55:08 +01:00