Fossil SCM
Fix a mimetype typo that prevents email notification from running.
Commit
adc23c107d30df86b3887d65a12bf058c01fe1f04bc0b9ff89df1dd1324603cd
Parent
0cb83decdd19654…
1 file changed
+1
-1
+1
-1
| --- src/cgi.c | ||
| +++ src/cgi.c | ||
| @@ -343,11 +343,11 @@ | ||
| 343 | 343 | CGIDEBUG(("DONE\n")); |
| 344 | 344 | |
| 345 | 345 | /* After the webpage has been sent, do any useful background |
| 346 | 346 | ** processing. |
| 347 | 347 | */ |
| 348 | - if( iReplyStatus==200 && fossil_strcmp(zContentType,"test/html")==0 ){ | |
| 348 | + if( iReplyStatus==200 && fossil_strcmp(zContentType,"text/html")==0 ){ | |
| 349 | 349 | email_auto_exec(); |
| 350 | 350 | } |
| 351 | 351 | } |
| 352 | 352 | |
| 353 | 353 | /* |
| 354 | 354 |
| --- src/cgi.c | |
| +++ src/cgi.c | |
| @@ -343,11 +343,11 @@ | |
| 343 | CGIDEBUG(("DONE\n")); |
| 344 | |
| 345 | /* After the webpage has been sent, do any useful background |
| 346 | ** processing. |
| 347 | */ |
| 348 | if( iReplyStatus==200 && fossil_strcmp(zContentType,"test/html")==0 ){ |
| 349 | email_auto_exec(); |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | /* |
| 354 |
| --- src/cgi.c | |
| +++ src/cgi.c | |
| @@ -343,11 +343,11 @@ | |
| 343 | CGIDEBUG(("DONE\n")); |
| 344 | |
| 345 | /* After the webpage has been sent, do any useful background |
| 346 | ** processing. |
| 347 | */ |
| 348 | if( iReplyStatus==200 && fossil_strcmp(zContentType,"text/html")==0 ){ |
| 349 | email_auto_exec(); |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | /* |
| 354 |