[Tickets #7083] SyncML\Backend.php: $_packetNum not used

bugs at horde.org bugs at horde.org
Fri Jul 18 08:55:13 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7083
------------------------------------------------------------------------------
  Ticket             | 7083
  Created By         | patrick.abiven at apitech.fr
  Summary            | SyncML\Backend.php: $_packetNum not used
  Queue              | SyncML
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


patrick.abiven at apitech.fr (2008-07-18 04:55) wrote:

Hello
It seems that the variable name $_packetNum is not used. The log  
function is using a local variable $packetNum (and not $_packetNum).

In some cases (when multiples synchronization occur at the same time),  
the packetNum is not incremented, and some log files may be used twice  
(see an extract from syncml_log.txt).

DEBUG:  Backend of class SyncML_Backend_Horde created
DEBUG:  Started at 2008-07-18 08:44:50. Packet logged in  
/var/tmp/HordeSync2/sync/syncml_client_63920.xml
...

DEBUG:  Backend of class SyncML_Backend_Horde created
DEBUG:  Started at 2008-07-18 08:44:54. Packet logged in  
/var/tmp/HordeSync2/syn
c/syncml_client_63920.xml

Regards
Patrick





More information about the bugs mailing list