Skip to content

Commit

Permalink
[sst]No error when loading from db non-sst dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-datcu committed Jul 22, 2014
1 parent e1b5994 commit 93528d4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions modules/sst/sst_handlers.c
Expand Up @@ -377,11 +377,8 @@ void sst_dialog_loaded_CB(struct dlg_cell *did, int type,
}

str raw_info = {(char*)info, sizeof(sst_info_t)};
if (dlg_binds->fetch_dlg_value(did, &info_val_name, &raw_info, 1) != 0) {
LM_ERR("Cannot fetch sst info from dialog!\n");
return;
}

if (dlg_binds->fetch_dlg_value(did, &info_val_name, &raw_info, 1) != 0)
LM_DBG("Cannot fetch sst info from dialog! Probably not a sst dialog\n");

setup_dialog_callbacks(did, info);
}
Expand Down

0 comments on commit 93528d4

Please sign in to comment.