X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=vss.c;h=481c0b68e19fb342489736c3f2c36d6e92eb9b1c;hb=ac153fd54a0f093581ee863984070a325d5343b8;hp=ef3b1742decb54c69bf3d91857695e97ea4b6374;hpb=e77825db70787c9ddbbee3827e2bf6e4452ad7a4;p=paraslash.git diff --git a/vss.c b/vss.c index ef3b1742..481c0b68 100644 --- a/vss.c +++ b/vss.c @@ -304,11 +304,7 @@ static int compute_next_fec_slice(struct fec_client *fc, struct vss_task *vsst) */ size_t vss_get_fec_eof_packet(const char **buf) { - static const char fec_eof_packet[FEC_HEADER_SIZE] = - "\xec\x0d\xcc\xfe\0\0\0\0" - "\0\0\0\0\0\0\0\0" - "\0\0\0\0\0\0\0\0" - "\0\0\0\0\0\0\0\0"; + static const char fec_eof_packet[FEC_HEADER_SIZE] = FEC_EOF_PACKET; *buf = fec_eof_packet; return FEC_HEADER_SIZE; }