Browse Source

usrloc: removed useless set of db type for expire column

Daniel-Constantin Mierla 7 năm trước cách đây
mục cha
commit
943724e62c
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      src/modules/usrloc/dlist.c

+ 0 - 1
src/modules/usrloc/dlist.c

@@ -132,7 +132,6 @@ static inline int get_all_db_ucontacts(void *buf, int len, unsigned int flags,
 	/* where fields */
 	/* where fields */
 	keys1[0] = &expires_col;
 	keys1[0] = &expires_col;
 	ops1[0] = OP_GT;
 	ops1[0] = OP_GT;
-	vals1[0].type = DB1_STR;
 	vals1[0].nul = 0;
 	vals1[0].nul = 0;
 	UL_DB_EXPIRES_SET(&vals1[0], time(0));
 	UL_DB_EXPIRES_SET(&vals1[0], time(0));