ソースを参照

tm: t flags field made int

- short size is full, flag 15 already used
Daniel-Constantin Mierla 5 ヶ月 前
コミット
d99f040463
2 ファイル変更3 行追加2 行削除
  1. 2 2
      src/modules/tm/h_table.h
  2. 1 0
      src/modules/tm/uac.h

+ 2 - 2
src/modules/tm/h_table.h

@@ -346,9 +346,9 @@ typedef struct cell
 	/* sequence number within hash collision slot */
 	unsigned int label;
 	/* different information about the transaction */
-	unsigned short flags;
+	unsigned int flags;
 	/* number of forks */
-	short nr_of_outgoings;
+	int nr_of_outgoings;
 
 	/* free operations counter - debug */
 	int fcount;

+ 1 - 0
src/modules/tm/uac.h

@@ -32,6 +32,7 @@
 
 #define DEFAULT_CSEQ 10 /* Default CSeq number */
 
+
 /* structure for UAC interface
  *
  * You can free the memory allocated