Changeset c6bc434
- Timestamp:
- 2016-02-10T03:53:11Z (9 years ago)
- Parents:
- 9456255
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/proxy.c
r9456255 rc6bc434 92 92 socklen_t len; 93 93 int error = ETIMEDOUT; 94 int fd; 94 95 95 96 len = sizeof(error); … … 122 123 phb->inpa = 0; 123 124 125 fd = phb->fd; 126 124 127 if (phb->proxy_func) { 125 128 phb->proxy_func(phb->proxy_data, source, B_EV_IO_READ); 126 129 } else { 130 struct PHB *phb_check; 131 127 132 phb->func(phb->data, source, B_EV_IO_READ); 128 phb_free(phb, TRUE); 133 134 /* Check the hash table again before touching phb, in case it was freed */ 135 if ((phb_check = g_hash_table_lookup(phb_hash, &fd)) && phb_check == phb) { 136 phb_free(phb, TRUE); 137 } 129 138 } 130 139
Note: See TracChangeset
for help on using the changeset viewer.