Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenkernel/intern/writeframeserver.c')
-rw-r--r--source/blender/blenkernel/intern/writeframeserver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/writeframeserver.c b/source/blender/blenkernel/intern/writeframeserver.c
index 746b99ffb52..ae6b19fb019 100644
--- a/source/blender/blenkernel/intern/writeframeserver.c
+++ b/source/blender/blenkernel/intern/writeframeserver.c
@@ -214,7 +214,7 @@ static int handle_request(RenderData *rd, char *req)
*p = 0;
- if (strcmp(path, "/index.html") == 0 || strcmp(path, "/") == 0) {
+ if (STREQ(path, "/index.html") || STREQ(path, "/")) {
safe_puts(index_page);
return -1;
}
@@ -226,7 +226,7 @@ static int handle_request(RenderData *rd, char *req)
write_ppm = 1;
return atoi(path + 12);
}
- if (strcmp(path, "/info.txt") == 0) {
+ if (STREQ(path, "/info.txt")) {
char buf[4096];
sprintf(buf,
@@ -250,7 +250,7 @@ static int handle_request(RenderData *rd, char *req)
safe_puts(buf);
return -1;
}
- if (strcmp(path, "/close.txt") == 0) {
+ if (STREQ(path, "/close.txt")) {
safe_puts(good_bye);
G.is_break = true; /* Abort render */
return -1;