diff options
| author | jvoisin | 2021-04-28 23:08:49 +0200 |
|---|---|---|
| committer | jvoisin | 2021-04-28 23:08:49 +0200 |
| commit | 4dc67f99e579d7c6e147a5388b079ca627186bbf (patch) | |
| tree | 54ddf782935318e6311b06cba8b8684ab3a2ded9 /src/sp_disable_xxe.c | |
| parent | 8496968ef07dadac2657206e059520675c5eb28a (diff) | |
A pass of clang-format
Diffstat (limited to 'src/sp_disable_xxe.c')
| -rw-r--r-- | src/sp_disable_xxe.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sp_disable_xxe.c b/src/sp_disable_xxe.c index 9dea33c..f9712b5 100644 --- a/src/sp_disable_xxe.c +++ b/src/sp_disable_xxe.c | |||
| @@ -1,12 +1,15 @@ | |||
| 1 | #include "php_snuffleupagus.h" | 1 | #include "php_snuffleupagus.h" |
| 2 | 2 | ||
| 3 | PHP_FUNCTION(sp_libxml_disable_entity_loader) { | 3 | PHP_FUNCTION(sp_libxml_disable_entity_loader) { |
| 4 | sp_log_warn( "xxe", "A call to libxml_disable_entity_loader was tried and nopped"); | 4 | sp_log_warn("xxe", |
| 5 | "A call to libxml_disable_entity_loader was tried and nopped"); | ||
| 5 | RETURN_TRUE; | 6 | RETURN_TRUE; |
| 6 | } | 7 | } |
| 7 | 8 | ||
| 8 | PHP_FUNCTION(sp_libxml_set_external_entity_loader) { | 9 | PHP_FUNCTION(sp_libxml_set_external_entity_loader) { |
| 9 | sp_log_warn("xxe", "A call to libxml_set_external_entity_loader was tried and nopped"); | 10 | sp_log_warn( |
| 11 | "xxe", | ||
| 12 | "A call to libxml_set_external_entity_loader was tried and nopped"); | ||
| 10 | RETURN_TRUE; | 13 | RETURN_TRUE; |
| 11 | } | 14 | } |
| 12 | 15 | ||
