From: Kern Sibbald Date: Tue, 19 Jan 2010 15:27:30 +0000 (+0100) Subject: Fix bscan bug introduced with serialization change X-Git-Tag: Release-7.0.0~2375 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eb0ea82774f1f61ce9dc05341b216aae6a8318fa;p=bacula%2Fbacula Fix bscan bug introduced with serialization change --- diff --git a/bacula/src/lib/serial.c b/bacula/src/lib/serial.c index 2de4edaf30..70d058ce3d 100644 --- a/bacula/src/lib/serial.c +++ b/bacula/src/lib/serial.c @@ -170,12 +170,12 @@ void serial_float64(uint8_t * * const ptr, const float64_t v) *ptr += sizeof(float64_t); } -void serial_string(uint8_t * * const ptr, const char * const str, int max) +void serial_string(uint8_t * * const ptr, const char * const str) { int i; char *dest = (char *)*ptr; char *src = (char *)str; - for (i=0; i