diff options
author | Pavan Deolasee | 2015-03-04 07:41:19 +0000 |
---|---|---|
committer | Pavan Deolasee | 2015-04-15 05:49:17 +0000 |
commit | e273dcdc4994b765a2a1b4067b5c7d2132b8c6d9 (patch) | |
tree | 6ef9cf71a2279e8936e04edaf1b1375fa22dd4c1 | |
parent | 3c5ada3c0be316ecf832693a3ba3c39c053cdd45 (diff) |
Fix unaccounted message bytes for coordinator name.
Patch by Jaimin Pan
-rw-r--r-- | src/gtm/common/gtm_serialize.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gtm/common/gtm_serialize.c b/src/gtm/common/gtm_serialize.c index 2a0cdb338e..8fdc3a17aa 100644 --- a/src/gtm/common/gtm_serialize.c +++ b/src/gtm/common/gtm_serialize.c @@ -376,6 +376,7 @@ gtm_deserialize_transactioninfo(GTM_TransactionInfo *data, const char *buf, size data->gti_coordname = genAllocTop(sizeof(ll+1)); /* Should be allocated at TopMostContext */ memcpy(data->gti_coordname, buf+len, ll); data->gti_coordname[ll] = 0; + len += ll; } else data->gti_coordname = NULL; |