mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-07 21:44:51 +00:00
regression from 0160072adcc516b53816d8db379ba4bf6862b182 code was outside of code block
This commit is contained in:
parent
6814014f7d
commit
bfe3fdf347
@ -159,9 +159,12 @@ SWITCH_DECLARE(switch_pgsql_status_t) switch_pgsql_cancel_real(const char *file,
|
|||||||
ret = SWITCH_PGSQL_FAIL;
|
ret = SWITCH_PGSQL_FAIL;
|
||||||
}
|
}
|
||||||
PQfreeCancel(cancel);
|
PQfreeCancel(cancel);
|
||||||
#endif
|
|
||||||
/* Make sure the query is fully cancelled */
|
/* Make sure the query is fully cancelled */
|
||||||
while (PQgetResult(handle->con) != NULL);
|
while (PQgetResult(handle->con) != NULL);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user