Changeset 34 for trunk/src/sh_html.c
- Timestamp:
- May 19, 2006, 8:09:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_html.c
r25 r34 108 108 if (!SL_ISERROR(fd)) 109 109 { 110 while (!SL_ISERROR(status) && sh_unix_getline (fd, line, 511) > 0)110 while (!SL_ISERROR(status) && sh_unix_getline (fd, line, sizeof(line)) > 0) 111 111 { 112 112 formatted = replace_stat (line); … … 121 121 else 122 122 { 123 qstr = sh_util_ filename(DEFAULT_HTML_FILE);123 qstr = sh_util_basename(DEFAULT_HTML_FILE); 124 124 if (qstr != NULL) 125 125 { … … 217 217 if (!SL_ISERROR(fd)) 218 218 { 219 while (!SL_ISERROR(status) && sh_unix_getline (fd, line, 511) > 0)219 while (!SL_ISERROR(status) && sh_unix_getline (fd, line, sizeof(line)) > 0) 220 220 { 221 221 status = sl_write_line (ticket, line, sl_strlen(line)); … … 289 289 if (!SL_ISERROR(fd)) 290 290 { 291 while (!SL_ISERROR(retval) && sh_unix_getline (fd, line, 511) > 0)291 while (!SL_ISERROR(retval) && sh_unix_getline (fd, line, sizeof(line)) > 0) 292 292 { 293 293 line_size = sl_strlen(line);
Note:
See TracChangeset
for help on using the changeset viewer.