/[oroborus]/oroborus/src/session.c
ViewVC logotype

Diff of /oroborus/src/session.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by dreamind, Fri Feb 14 01:05:28 2003 UTC revision 1.4 by dreamind, Fri Feb 14 01:10:30 2003 UTC
# Line 54  static void Line 54  static void
54  callback_die (SmcConn smc_conn, SmPointer client_data)  callback_die (SmcConn smc_conn, SmPointer client_data)
55  {  {
56  #ifdef DEBUG  #ifdef DEBUG
57          printf("exiting\n");          printf ("exiting\n");
58  #endif  #endif
59          SmcCloseConnection (smc_conn, 0, NULL);          SmcCloseConnection (smc_conn, 0, NULL);
60    
# Line 231  session_init (char *argv0, char *id) Line 231  session_init (char *argv0, char *id)
231                          /* Not really needed... */                          /* Not really needed... */
232                          fcntl (ice_fd, F_SETFD, fcntl (ice_fd, F_GETFD, 0) | FD_CLOEXEC);                          fcntl (ice_fd, F_SETFD, fcntl (ice_fd, F_GETFD, 0) | FD_CLOEXEC);
233  #ifdef DEBUG  #ifdef DEBUG
234                          printf("Connection established!\n");                          printf ("Connection established!\n");
235  #endif  #endif
236                  }                  }
237  }  }
# Line 252  poll_ice_msgs (void) Line 252  poll_ice_msgs (void)
252                          if (select (ice_fd + 1, &rd_fds, NULL, NULL, &timeout))                          if (select (ice_fd + 1, &rd_fds, NULL, NULL, &timeout))
253                                  {                                  {
254  #ifdef DEBUG  #ifdef DEBUG
255                                          printf("polling\n");                                          printf ("polling\n");
256  #endif  #endif
257                                          process_ice_msgs ();                                          process_ice_msgs ();
258                                  }                                  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26