cosmetic: fix formatting in if line

Fixes: eefa30dce8
Fixes: 2d6a69e69a
Change-Id: I9ee5f4142cacf912145693c72a53c0f531bad2c6
This commit is contained in:
Pau Espin 2019-08-28 11:17:08 +02:00
parent f5fbb419ef
commit 3eb05d2c1a
2 changed files with 3 additions and 2 deletions

View File

@ -358,8 +358,9 @@ static int delete_context(struct pdp_t *pdp)
member = pdp->peer[i];
send_trap(gsn, pdp, member, "imsi-rem-ip"); /* TRAP with IP removal */
ippool_freeip(member->pool, member);
} else if(i == 0)
} else if (i == 0) {
LOGPPDP(LOGL_ERROR, pdp, "Cannot find/free IP Pool member\n");
}
}
if (!pdp_priv) {

View File

@ -109,7 +109,7 @@ static struct gsn_t *g_gsn;
int pdp_init(struct gsn_t *gsn)
{
if(!g_gsn) {
if (!g_gsn) {
g_gsn = gsn;
} else {
LOGP(DLGTP, LOGL_FATAL, "This interface is depreacted and doesn't support multiple GGSN!");