diff -ur aqhbci-0.9.19beta/src/tools/hbcixml/hbcixml.cpp aqhbci-0.9.19beta-hbcixml2-name/src/tools/hbcixml/hbcixml.cpp --- aqhbci-0.9.19beta/src/tools/hbcixml/hbcixml.cpp 2005-01-12 14:39:01.000000000 +0100 +++ aqhbci-0.9.19beta-hbcixml2-name/src/tools/hbcixml/hbcixml.cpp 2005-02-02 17:15:43.777800488 +0100 @@ -50,9 +50,9 @@ #include using namespace std; - +#define MYNAME "hbcixml2" #define PRG_VERSION_INFO \ - "hbcixml v1.99 (part of AqHBCI v"AQHBCI_VERSION_STRING")\n"\ + MYNAME " v1.99 (part of AqHBCI v"AQHBCI_VERSION_STRING")\n"\ "(c) 2005 Martin Preuss\n" \ "This program is free software licensed under GPL.\n"\ "See COPYING for details.\n" @@ -60,7 +60,7 @@ void usage(const char *prg) { fprintf(stderr, - "HBCIXML - A tool to work on data in a HBCI XML file.\n" + MYNAME " - A tool to work on data in a HBCI XML file.\n" "(c) 2003 Martin Preuss\n" "This library is free software; you can redistribute it and/or\n" "modify it under the terms of the GNU Lesser General Public\n" @@ -123,9 +123,9 @@ " Default is \"warning\".\n" "\n" "The simplest usage of this program is:\n" - " hbcixml show -j JobDialogInit\n" + " " MYNAME " show -j JobDialogInit\n" "This shows the properties used by the job \"JobInit\". Other example:\n" - " hbcixml show -t seg -j Balance\n" + " " MYNAME " show -t seg -j Balance\n" "shows the response segment of a JobGetBalance.\n", prg); } @@ -162,7 +162,7 @@ args.typ="job"; args.version=0; args.hversion=210; - args.logFile="hbcixml2.log"; + args.logFile=MYNAME ".log"; args.logType=GWEN_LoggerTypeConsole; args.logLevel=GWEN_LoggerLevelWarning; args.trustLevel=0; @@ -944,7 +944,7 @@ if (GWEN_Logger_Open(0, - "hbcixml", + MYNAME, args.logFile.c_str(), args.logType, GWEN_LoggerFacilityUser)) {