| 267 |
267 |
| 268 /* Create a listening socket */ |
268 /* Create a listening socket */ |
| 269 sock = gaim_network_listen_range(0, 0); |
269 sock = gaim_network_listen_range(0, 0); |
| 270 |
270 |
| 271 if (sock < 0) { |
271 if (sock < 0) { |
| 272 gaim_notify_error(gc, NULL, _("File Transfer Aborted"), |
272 gaim_notify_error(gc, NULL, _("File Transfer Failed"), |
| 273 _("Gaim could not open a listening port.")); |
273 _("Gaim could not open a listening port.")); |
| 274 gaim_xfer_cancel_local(xfer); |
274 gaim_xfer_cancel_local(xfer); |
| 275 return; |
275 return; |
| 276 } |
276 } |
| 277 |
277 |