Blob Blame Raw
From c9b560825a00f48edd81d380235aad0ff567232b Mon Sep 17 00:00:00 2001
From: vladut-paiu <vladut-paiu@689a6050-402a-0410-94f2-e92a70836424>
Date: Tue, 3 Jul 2012 10:01:52 +0000
Subject: [PATCH 4/8] fixed DB type inconsistency Credits to Peter Lemenkov

---
 modules/usrloc/ucontact.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/usrloc/ucontact.c b/modules/usrloc/ucontact.c
index 17992d5..ea400d2 100644
--- a/modules/usrloc/ucontact.c
+++ b/modules/usrloc/ucontact.c
@@ -605,11 +605,11 @@ int db_update_ucontact(ucontact_t* _c)
 	vals2[2].nul = 0;
 	vals2[2].val.int_val = _c->cseq;
 
-	vals2[3].type = DB_INT;
+	vals2[3].type = DB_BITMAP;
 	vals2[3].nul = 0;
 	vals2[3].val.bitmap_val = _c->flags;
 
-	vals2[4].type = DB_INT;
+	vals2[4].type = DB_BITMAP;
 	vals2[4].nul = 0;
 	vals2[4].val.bitmap_val = _c->cflags;
 
-- 
1.8.1