rem: LOG(L_NOTICE, "Binding '\%.*s\',\'%.*s\' has expired\n", ptr->aor->len, ptr->aor->s, ptr->c.len, ptr->c.s);
add: if (ptr->expires != 0) {  LOG(L_NOTICE, "Binding '\%.*s\',\'%.*s\' has expired\n", ptr->aor->len, ptr->aor->s, ptr->c.len, ptr->c.s); }
context: static inline int wb_timer(urecord_t* _r){	ucontact_t* ptr, *t;	int op;	ptr = _r->contacts;	while(ptr) {		if (ptr->expires < act_time) {			LOG(L_NOTICE, "Binding '\%.*s\',\'%.*s\' has expired\n",			    ptr->aor->len, ptr->aor->s,			    ptr->c.len, ptr->c.s);			t = ptr;			ptr = ptr->next;			     /* Should we remove the contact from the database ? */			if (st_expired_ucontact(t) == 1) {				if (put_on_del_list(t) < 0) {					LOG(L_ERR, "wb_timer(): Can't put on delete list\n");				}				     /*				if (db_delete_ucontact(t) < 0) {					LOG(L_ERR, "wb_timer(): Error while deleting contact from database\n");				}				     */			}			if (t->expires != 0) {				_r->slot->d->expired++;			}			mem_delete_ucontact(_r, t);		} else {			     /* Determine the operation we have to do */			op = st_flush_ucontact(ptr);						switch(op) {			case 0: /* do nothing, contact is synchronized */				break;			case 1: /* insert */				if (put_on_ins_list(ptr) < 0) {					LOG(L_ERR, "wb_timer(): Error while putting on ins_list\n");				}				     /*				if (db_insert_ucontact(ptr) < 0) {					LOG(L_ERR, "wb_timer(): Error while inserting contact in db\n");				}				     */				break;			case 2: /* update */				/*				if (put_on_upd_list(ptr) < 0) {					LOG(L_ERR, "wb_timer(): Error while putting on del_list\n");				}				*/				if (db_update_ucontact(ptr) < 0) {					LOG(L_ERR, "wb_timer(): Error while updating contact in db\n");				}				break;			}			ptr = ptr->next;		}	}	return 0;}