SHA256
1
0
forked from pool/aqbanking
aqbanking/aqbanking-2.2.3-strcmp.patch

19 lines
573 B
Diff
Raw Normal View History

--- src/plugins/backends/aqhbci/tools/hbcixml/hbcixml.cpp
+++ src/plugins/backends/aqhbci/tools/hbcixml/hbcixml.cpp
@@ -266,12 +266,12 @@
i++;
if (i>=argc)
return -1;
- if (argv[i]=="stderr")
+ if (strcmp(argv[i],"stderr")==0)
args.logType=GWEN_LoggerTypeConsole;
- else if (argv[i]=="file")
+ else if (strcmp(argv[i],"file")==0)
args.logType=GWEN_LoggerTypeFile;
#ifdef HAVE_SYSLOG_H
- else if (argv[i]=="syslog")
+ else if (strcmp(argv[i],"syslog")==0)
args.logType=GWEN_LoggerTypeSyslog;
#endif
else {