diff --git a/transport/transport.c b/transport/transport.c index 3a70d33262551a3edf0ca18a80a5b65562cf0c01..62311aa80410b682c84afe6279aca7ff6dfbd5c8 100644 --- a/transport/transport.c +++ b/transport/transport.c @@ -18,7 +18,9 @@ /** The transport registry */ const struct mstro_transport_descriptor g_transport_registry[] = { - [MSTRO__POOL__TRANSPORT_KIND__INVALID_TRANSPORT_KIND] = { }, + [MSTRO__POOL__TRANSPORT_KIND__INVALID_TRANSPORT_KIND] = { + .notify_src = false, .src_func = NULL, .dst_func = NULL, .name = "INVALID" + }, [MSTRO__POOL__TRANSPORT_KIND__GFS] = { .notify_src = false, .src_func = mstro_transport_gfs_src_execute, diff --git a/transport/transport.h b/transport/transport.h index 4ca71ddb52e80276a6350d8be85cf6b0a5596a85..987e0659ce9ba3f5fd70bc558169d4596515129b 100644 --- a/transport/transport.h +++ b/transport/transport.h @@ -52,7 +52,7 @@ mstro_transport_descriptor { mstro_status (* src_func)(mstro_cdo src, Mstro__Pool__TransferTicket* ticket); /** the function to call on the destination side of the transfer */ mstro_status (* dst_func)(mstro_cdo dst , Mstro__Pool__TransferTicket* ticket); - char name [3]; + char name [16]; }; extern const struct mstro_transport_descriptor g_transport_registry[];