projects
/
runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Long PHP page fix.
[runtime.git]
/
lib
/
silchttp
/
silchttpphp.c
diff --git
a/lib/silchttp/silchttpphp.c
b/lib/silchttp/silchttpphp.c
index f68cc8c3ee9fe4b0bcbf05dad93282ef62062477..02f95e2c89350b30e0faa51416e9872faa109bf9 100644
(file)
--- a/
lib/silchttp/silchttpphp.c
+++ b/
lib/silchttp/silchttpphp.c
@@
-86,10
+86,12
@@
SilcBuffer silc_http_php_file(const char *filename)
}
if (len) {
- ret = silc_buffer_alloc(0);
if (!ret) {
- pclose(fd);
- return NULL;
+ ret = silc_buffer_alloc(0);
+ if (!ret) {
+ pclose(fd);
+ return NULL;
+ }
}
silc_buffer_format(ret,