Project

General

Profile

Revision 942309da src/libs/plugins/backends/aqofxconnect/provider_accspec.c

View differences:

src/libs/plugins/backends/aqofxconnect/provider_accspec.c
28 28
    /* AB_Transaction_CommandGetEStatements,            */
29 29
    AB_Transaction_CommandUnknown};
30 30

  
31
  for (i=0; (i<100) && (jobList[i]!=AB_Transaction_CommandUnknown); i++) {
31
  i=0;
32
  while(jobList[i]!=AB_Transaction_CommandUnknown) {
32 33
    AB_TRANSACTION_LIMITS *limits=NULL;
33 34

  
34 35
    DBG_INFO(AQOFXCONNECT_LOGDOMAIN, "Handling job \"%s\"", AB_Transaction_Command_toString(jobList[i]));
......
39 40

  
40 41
    DBG_INFO(AQOFXCONNECT_LOGDOMAIN, "- adding limits");
41 42
    AB_TransactionLimits_List_Add(limits, tll);
42
  } /* for i */
43
    i++;
44
  } /* while */
43 45

  
44 46
  return 0;
45 47
}

Also available in: Unified diff