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-5.0.0~58 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a7b6c2695edb937ce3de4d2f2dd62c075bcee567;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