Browse code

- more warning & cosmetic fixes

Andrei Pelinescu-Onciul authored on 20/09/2002 12:07:11
Showing 2 changed files
... ...
@@ -44,6 +44,7 @@
44 44
 #include "../../mem/shm_mem.h"
45 45
 #include "../../mem/mem.h"
46 46
 #include "../../globals.h"
47
+#include "../../parser/parse_uri.h"
47 48
 
48 49
 #include "sip2jabber.h"
49 50
 #include "jc_pool.h"
... ...
@@ -296,8 +296,10 @@ int st_flush_ucontact(ucontact_t* _c)
296 296
 int db_insert_ucontact(ucontact_t* _c)
297 297
 {
298 298
 	char b[256];
299
-	db_key_t keys[] = {user_col, contact_col, expires_col, q_col, callid_col, cseq_col};
300
-	db_val_t vals[] = {{DB_STR,     0, {.str_val = {_c->aor->s, _c->aor->len}}},
299
+	db_key_t keys[] = {user_col, contact_col, expires_col, q_col, callid_col,
300
+						cseq_col};
301
+	db_val_t vals[] = {
302
+			  {DB_STR,      0, {.str_val = {_c->aor->s, _c->aor->len}}},
301 303
 			  {DB_STR,      0, {.str_val = {_c->c.s, _c->c.len}}},
302 304
 			  {DB_DATETIME, 0, {.time_val = _c->expires}},
303 305
 			  {DB_DOUBLE,   0, {.double_val = _c->q}},