Mercurial > pidgin.yaz
comparison src/sslconn.c @ 6745:57a24492434b
[gaim-migrate @ 7277]
compile for windows..
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Thu, 04 Sep 2003 23:08:57 +0000 |
parents | 6c95f01aaf49 |
children | 818ce550d2ce |
comparison
equal
deleted
inserted
replaced
6744:a781689ca455 | 6745:57a24492434b |
---|---|
120 | 120 |
121 if (gsc->inpa) | 121 if (gsc->inpa) |
122 gaim_input_remove(gsc->inpa); | 122 gaim_input_remove(gsc->inpa); |
123 | 123 |
124 if (ops != NULL && ops->close != NULL) | 124 if (ops != NULL && ops->close != NULL) |
125 ops->close(gsc); | 125 (ops->close)(gsc); |
126 | 126 |
127 if (gsc->fd) | 127 if (gsc->fd) |
128 close(gsc->fd); | 128 close(gsc->fd); |
129 | 129 |
130 if (gsc->host != NULL) | 130 if (gsc->host != NULL) |
142 g_return_val_if_fail(data != NULL, 0); | 142 g_return_val_if_fail(data != NULL, 0); |
143 g_return_val_if_fail(len > 0, 0); | 143 g_return_val_if_fail(len > 0, 0); |
144 | 144 |
145 ops = gaim_ssl_get_ops(); | 145 ops = gaim_ssl_get_ops(); |
146 | 146 |
147 if (ops != NULL && ops->read != NULL) | 147 if (ops != NULL && (ops->read) != NULL) |
148 return ops->read(gsc, data, len); | 148 return (ops->read)(gsc, data, len); |
149 | 149 |
150 return 0; | 150 return 0; |
151 } | 151 } |
152 | 152 |
153 size_t | 153 size_t |
159 g_return_val_if_fail(data != NULL, 0); | 159 g_return_val_if_fail(data != NULL, 0); |
160 g_return_val_if_fail(len > 0, 0); | 160 g_return_val_if_fail(len > 0, 0); |
161 | 161 |
162 ops = gaim_ssl_get_ops(); | 162 ops = gaim_ssl_get_ops(); |
163 | 163 |
164 if (ops != NULL && ops->write != NULL) | 164 if (ops != NULL && (ops->write) != NULL) |
165 return ops->write(gsc, data, len); | 165 return (ops->write)(gsc, data, len); |
166 | 166 |
167 return 0; | 167 return 0; |
168 } | 168 } |
169 | 169 |
170 void | 170 void |