Unidiff1 files changed, 3 insertions, 4 deletions
|
diff --git a/html.c b/html.c index 957b326..3a5d28d 100644 --- a/ html.c+++ b/ html.c |
|
@@ -47,3 +47,3 @@ void html_txt(char *txt) |
47 | char *t = txt; |
47 | char *t = txt; |
48 | while(*t){ |
48 | while(t && *t){ |
49 | int c = *t; |
49 | int c = *t; |
@@ -70,3 +70,3 @@ void html_ntxt(int len, char *txt) |
70 | char *t = txt; |
70 | char *t = txt; |
71 | while(*t && len--){ |
71 | while(t && *t && len--){ |
72 | int c = *t; |
72 | int c = *t; |
@@ -99,3 +99,3 @@ void html_attr(char *txt) |
99 | char *t = txt; |
99 | char *t = txt; |
100 | while(*t){ |
100 | while(t && *t){ |
101 | int c = *t; |
101 | int c = *t; |
@@ -157,2 +157 @@ void html_filemode(unsigned short mode) |
157 | } |
| } |
158 | |
| |
|