ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/gvpe.C
(Generate patch)

Comparing gvpe/src/gvpe.C (file contents):
Revision 1.11 by pcg, Sat Nov 10 21:19:19 2007 UTC vs.
Revision 1.12 by pcg, Sat Dec 1 23:35:31 2007 UTC

252 { 252 {
253 thisnode = *argv++; 253 thisnode = *argv++;
254 argc--; 254 argc--;
255 } 255 }
256 256
257 if (!ev::ev_default_loop (0)) 257 if (!ev_default_loop (0))
258 { 258 {
259 slog (L_ERR, _("unable to initialise the event loop (bad $LIBEV_METHODS?)")); 259 slog (L_ERR, _("unable to initialise the event loop (bad $LIBEV_METHODS?)"));
260 exit (EXIT_FAILURE); 260 exit (EXIT_FAILURE);
261 } 261 }
262 262
280 280
281 setup_signals (); 281 setup_signals ();
282 282
283 if (!network.setup ()) 283 if (!network.setup ())
284 { 284 {
285 ev::ev_loop (EV_DEFAULT_A_ 0); 285 ev_loop (EV_DEFAULT_ 0);
286 cleanup_and_exit (EXIT_FAILURE); 286 cleanup_and_exit (EXIT_FAILURE);
287 } 287 }
288 288
289 slog (L_ERR, _("unable to setup network, unrecoverable error, exiting.")); 289 slog (L_ERR, _("unable to setup network, unrecoverable error, exiting."));
290 cleanup_and_exit (EXIT_FAILURE); 290 cleanup_and_exit (EXIT_FAILURE);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines