patch from dkindred@cmu.edu. Parenthesis inclusion and a printf formatting snag. rev'd by gagan

This commit is contained in:
valeski 1998-04-17 00:33:25 +00:00
parent a31e715330
commit c6f8adbb83
2 changed files with 3 additions and 3 deletions

View File

@ -59,8 +59,8 @@ net_add_select(SelectType stType, PRFileDesc *prFD)
unsigned int index = fd_set_size;
unsigned int count;
#define CONNECT_FLAGS PR_POLL_READ | PR_POLL_EXCEPT | PR_POLL_WRITE
#define READ_FLAGS PR_POLL_READ | PR_POLL_EXCEPT
#define CONNECT_FLAGS (PR_POLL_READ | PR_POLL_EXCEPT | PR_POLL_WRITE)
#define READ_FLAGS (PR_POLL_READ | PR_POLL_EXCEPT)
/* Go through the list, make sure that there is not already an entry for fd. */
for(count=0; count < fd_set_size; count++)

View File

@ -1194,7 +1194,7 @@ if(cur_entry->status < 0) \
"<li>Format In: %s<br>\n"
"Encoding In: %s<br>\n"
"Present Type: %d<br>\n"
"%s<br><ol>%d Converters:\n",
"%s<br><ol>%d Converter%s:\n",
(csp->format_in != (char *)0) ? csp->format_in : "(null)",
(csp->encoding_in != (char *)0) ? csp->encoding_in : "(null)",
csp->format_out,