mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
patch from dkindred@cmu.edu. Parenthesis inclusion and a printf formatting snag. rev'd by gagan
This commit is contained in:
parent
a31e715330
commit
c6f8adbb83
@ -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++)
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user