sync.c : fixed some endianize problem, and calback de-registering when re-starting service.
sync.c : fixed some endianize problem, and calback de-registering when re-starting service.

mistoll/CanFestival-3,mistoll/CanFestival-3,mistoll/CanFestival-3,mistoll/CanFestival-3,mistoll/CanFestival-3