Commit 8e65ca4e authored by Pekka Pessi's avatar Pekka Pessi
Browse files

tport.c: fix argument check in tport_get_params()

MeeGo Coverity issue CID#11755
parent cfa794a5
......@@ -1196,11 +1196,12 @@ int tport_get_params(tport_t const *self,
int n;
tport_params_t const *tpp;
int connect;
tport_master_t *mr = self->tp_master;
tport_master_t *mr;
if (self == NULL)
return su_seterrno(EINVAL);
mr = self->tp_master;
tpp = self->tp_params;
ta_start(ta, tag, value);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment