[sr-dev] git:master: tm: keep uac_client structure aligned on 32b

Daniel-Constantin Mierla miconda at gmail.com
Sun May 19 15:05:07 CEST 2013


Module: sip-router
Branch: master
Commit: cbcf86a036e6f8607f783ce18491121b0d58d2b0
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cbcf86a036e6f8607f783ce18491121b0d58d2b0

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Sun May 19 10:16:40 2013 +0200

tm: keep uac_client structure aligned on 32b

- otherwise it may create troubles on restrictive archs

---

 modules/tm/h_table.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/tm/h_table.h b/modules/tm/h_table.h
index f3bca52..a3d22da 100644
--- a/modules/tm/h_table.h
+++ b/modules/tm/h_table.h
@@ -239,6 +239,7 @@ typedef struct ua_client
 	/* internal flags per tm uac */
 	unsigned int flags;
 #endif
+	/* per branch flags */
 	flag_t branch_flags;
 #ifdef WITH_AS_SUPPORT
 	/**
@@ -256,6 +257,8 @@ typedef struct ua_client
 	unsigned short on_branch_failure;
 	/* the onreply_route to be processed if registered to do so */
 	unsigned short on_reply;
+	/* unused - keep the structure aligned to 32b */
+	unsigned short on_unused;
 }ua_client_type;
 
 




More information about the sr-dev mailing list