[BACK]Return to common.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rdist

Diff for /src/usr.bin/rdist/common.c between version 1.21 and 1.22

version 1.21, 2003/06/03 02:56:14 version 1.22, 2008/01/02 17:44:11
Line 977 
Line 977 
         No SETBUF_TYPE is defined!          No SETBUF_TYPE is defined!
 #endif  /* SETBUF_TYPE */  #endif  /* SETBUF_TYPE */
 }  }
   
 /*  
  * Our interface to system call to get a socket pair.  
  */  
 int  
 getsocketpair(int domain, int type, int protocol, int sv[])  
 {  
 #if     SOCKPAIR_TYPE == SOCKPAIR_SOCKETPAIR  
         return(socketpair(domain, type, protocol, sv));  
 #endif  /* SOCKPAIR_SOCKETPAIR */  
 #if     SOCKPAIR_TYPE == SOCKPAIR_SPIPE  
         return(spipe(sv));  
 #endif  /* SOCKPAIR_SPIPE */  
 #if     !defined(SOCKPAIR_TYPE)  
         No SOCKPAIR_TYPE is defined!  
 #endif  /* SOCKPAIR_TYPE */  
 }  

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22