Project

General

Profile

Revision 5bc3f3e7 src/libs/plugins/parsers/swift/swift940.c

View differences:

src/libs/plugins/parsers/swift/swift940.c
604 604
	  if (blz) {
605 605
	    *blz=0;
606 606
            blz++;
607
	  }
608
	  p3=blz;
609
	  while(*p3 && isdigit(*p3))
610
	    p3++;
611
	  *p3=0;
612 607

  
613
	  AHB_SWIFT__SetCharValue(data, flags, "remoteBankCode", blz);
614
	  AHB_SWIFT__SetCharValue(data, flags, "remoteAccountNumber", kto);
608
	    p3=blz;
609
	    while(*p3 && isdigit(*p3))
610
	      p3++;
611
	    *p3=0;
612

  
613
	    AHB_SWIFT__SetCharValue(data, flags, "remoteBankCode", blz);
614
	    AHB_SWIFT__SetCharValue(data, flags, "remoteAccountNumber", kto);
615
	  }
615 616
	}
616 617
	else {
617 618
	  AHB_SWIFT__SetCharValue(data, flags, "purpose", p1);
......
1069 1070
  }
1070 1071
  AHB_SWIFT__SetCharValue(data, flags, "value", s);
1071 1072
  GWEN_Memory_dealloc(s);
1072
  bleft-=p2-p;
1073
  p=p2;
1073
  /*bleft-=p2-p;*/
1074
  /*p=p2;*/
1074 1075

  
1075 1076
  return 0;
1076 1077
}

Also available in: Unified diff