SHARE
TWEET

ports.c

a guest Jul 16th, 2012 23 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         // delete the ports
  2.        
  3.         port = (Port*)list_get_first_item(&queue)
  4.         while (port != NULL) {
  5.                 Port *next = (Port*)list_get_next_item(&queue, port);
  6.                 delete port;
  7.                 port = next;
  8.         }        
  9.                
  10. /*      // delete the ports
  11.         while (Port* port = (Port*)list_remove_head_item(&queue))
  12.                 delete port;
  13. */
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top