summaryrefslogtreecommitdiff
path: root/ws2a
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-05-09 15:33:32 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-05-09 15:33:32 -0400
commite4cf349f9d985e3b1a34e4497b4dd87b6371b40e (patch)
treef9e81df73b75079326cb660456cb6bbc7e77fbd4 /ws2a
parent08c9221ad098c14761324be9c941af84bc63ad79 (diff)
downloadwebpage-e4cf349f9d985e3b1a34e4497b4dd87b6371b40e.tar.gz
webpage-e4cf349f9d985e3b1a34e4497b4dd87b6371b40e.tar.bz2
webpage-e4cf349f9d985e3b1a34e4497b4dd87b6371b40e.zip
Fixed small bug with characters
Diffstat (limited to 'ws2a')
-rw-r--r--ws2a/bugsdata.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ws2a/bugsdata.c b/ws2a/bugsdata.c
index d04560e..047642a 100644
--- a/ws2a/bugsdata.c
+++ b/ws2a/bugsdata.c
@@ -56,17 +56,17 @@ void printbug(FILE* f){
if(part != 2){
printf("<td>");
}
- }else if(c == "&"){
+ }else if(c == '&'){
printf("&amp;");
- }else if(c == "\""){
+ }else if(c == '\"'){
printf("&quot;");
- }else if(c == "'"){
+ }else if(c == '\''){
printf("&#39;");
- }else if(c == "<"){
+ }else if(c == '<'){
printf("&lt;");
- }else if(c == ">"){
+ }else if(c == '>'){
printf("&gt;");
- }else if(c == "\\"){
+ }else if(c == '\\'){
printf("&#x2F;");
else{
putchar(c);