summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Tondereau2025-07-15 20:16:08 +0200
committerJulien Voisin2025-07-15 22:36:00 +0200
commit7e56fe6cbaac489d8449962730f37a025d15cfeb (patch)
tree9f47332221770f19104733d2dc6c706508074a7c
parent0184ba96d6087c6dca62ef6a996567e6d2e2bb9e (diff)
fix: Build PHP
-rw-r--r--.github/workflows/coverity.yml1
-rw-r--r--src/sp_wrapper.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index 5fb36fd..7db1177 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -40,4 +40,3 @@ jobs:
40 https://scan.coverity.com/builds?project=jvoisin/snuffleupagus 40 https://scan.coverity.com/builds?project=jvoisin/snuffleupagus
41 env: 41 env:
42 TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} 42 TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
43
diff --git a/src/sp_wrapper.c b/src/sp_wrapper.c
index 3e01a51..6b6c5cd 100644
--- a/src/sp_wrapper.c
+++ b/src/sp_wrapper.c
@@ -100,7 +100,7 @@ static php_stream * sp_php_stream_url_wrap_php(php_stream_wrapper *wrapper,
100 100
101 extern PHPAPI const php_stream_wrapper php_stream_php_wrapper; 101 extern PHPAPI const php_stream_wrapper php_stream_php_wrapper;
102 102
103 return php_stream_php_wrapper.wops->stream_opener(wrapper, path, mode, options, opened_path, context STREAMS_DC); 103 return php_stream_php_wrapper.wops->stream_opener(wrapper, path, mode, options, opened_path, context STREAMS_CC);
104} 104}
105 105
106/* 106/*