Revision 5dab1009
Von admin vor fast 6 Jahren hinzugefügt
| src/libs/plugins/parsers/swift/swift.c | ||
|---|---|---|
|
}
|
||
|
|
||
|
/* check whether the line starts with a ":" or "-" */
|
||
|
if (buffer[0]=='-' && buffer[1]==0) {
|
||
|
/* it does, so the buffer contains the next line, go handle the
|
||
|
* previous line */
|
||
|
/* CAVEAT: Some banks use "-" at end of line in ":86:" tags, we must not take that for the end of document */
|
||
|
if (
|
||
|
(GWEN_Buffer_GetUsedBytes(lbuf)<4 || strncasecmp(GWEN_Buffer_GetStart(lbuf), ":86:", 4) !=0) &&
|
||
|
buffer[0]=='-' && buffer[1]==0
|
||
|
) {
|
||
|
/* it does, so the buffer contains the next line, go handle the
|
||
|
* previous line */
|
||
|
DBG_DEBUG(AQBANKING_LOGDOMAIN, "End of doc reached");
|
||
|
break;
|
||
|
}
|
||
Auch abrufbar als: Unified diff
SWIFT: Modified a patch by Wolfgang Hamann (provided via #82).