Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5dab1009

Von admin vor mehr als 5 Jahren hinzugefügt

  • ID 5dab1009b6ca59faa34ddc5f29f57490f56fe85d
  • Vorgänger 25c3a966
  • Nachfolger 4029a65a

SWIFT: Modified a patch by Wolfgang Hamann (provided via #82).

Unterschiede anzeigen:

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