Fossil SCM
Remove a redundant comment from the previous checkin. No code changes.
Commit
4172bcdcea02050c867338d46e0dc9d14667a88d76574be694da8f2d8e122d3a
Parent
87edfb0a48fc464…
1 file changed
+1
-3
+1
-3
| --- src/chat.c | ||
| +++ src/chat.c | ||
| @@ -1005,13 +1005,11 @@ | ||
| 1005 | 1005 | ** the mimetype text/x-patch, whereas we very often use that |
| 1006 | 1006 | ** name glob for fossil-format patches. That causes such files |
| 1007 | 1007 | ** to attempt to render in the browser when clicked via |
| 1008 | 1008 | ** download links in chat. |
| 1009 | 1009 | ** |
| 1010 | - ** The workaround: if a text/... file is looks_like_binary() | |
| 1011 | - ** then change the mimetype to application/octet-stream. | |
| 1012 | - */ | |
| 1010 | + ** The workaround: */ | |
| 1013 | 1011 | if( looks_like_binary(&r) ){ |
| 1014 | 1012 | zMime = "application/octet-stream"; |
| 1015 | 1013 | } |
| 1016 | 1014 | } |
| 1017 | 1015 | cgi_set_content_type(zMime); |
| 1018 | 1016 |
| --- src/chat.c | |
| +++ src/chat.c | |
| @@ -1005,13 +1005,11 @@ | |
| 1005 | ** the mimetype text/x-patch, whereas we very often use that |
| 1006 | ** name glob for fossil-format patches. That causes such files |
| 1007 | ** to attempt to render in the browser when clicked via |
| 1008 | ** download links in chat. |
| 1009 | ** |
| 1010 | ** The workaround: if a text/... file is looks_like_binary() |
| 1011 | ** then change the mimetype to application/octet-stream. |
| 1012 | */ |
| 1013 | if( looks_like_binary(&r) ){ |
| 1014 | zMime = "application/octet-stream"; |
| 1015 | } |
| 1016 | } |
| 1017 | cgi_set_content_type(zMime); |
| 1018 |
| --- src/chat.c | |
| +++ src/chat.c | |
| @@ -1005,13 +1005,11 @@ | |
| 1005 | ** the mimetype text/x-patch, whereas we very often use that |
| 1006 | ** name glob for fossil-format patches. That causes such files |
| 1007 | ** to attempt to render in the browser when clicked via |
| 1008 | ** download links in chat. |
| 1009 | ** |
| 1010 | ** The workaround: */ |
| 1011 | if( looks_like_binary(&r) ){ |
| 1012 | zMime = "application/octet-stream"; |
| 1013 | } |
| 1014 | } |
| 1015 | cgi_set_content_type(zMime); |
| 1016 |