View | Details | Raw Unified | Return to bug 118878
Collapse All | Expand All

(-)xinetd-2.3.13/xinetd/util.c (-1 / +1 lines)
Lines 234-240 void tabprint( int fd, int tab_level, co Link Here
234
void drain( int sd )
234
void drain( int sd )
235
{
235
{
236
   char buf[ 256 ] ; /* This size is arbitrarily chosen */
236
   char buf[ 256 ] ; /* This size is arbitrarily chosen */
237
   char cc ;
237
   size_t cc ;
238
   int old_val ;
238
   int old_val ;
239
239
240
   /* Put in non-blocking mode so we don't hang. */
240
   /* Put in non-blocking mode so we don't hang. */
(-)xinetd-2.3.13/xinetd/builtins.c (-1 / +1 lines)
Lines 187-193 static void dgram_echo( const struct ser Link Here
187
{
187
{
188
   char            buf[ DATAGRAM_SIZE ] ;
188
   char            buf[ DATAGRAM_SIZE ] ;
189
   union xsockaddr lsin;
189
   union xsockaddr lsin;
190
   int             cc ;
190
   size_t          cc ;
191
   unsigned int    sin_len = 0;
191
   unsigned int    sin_len = 0;
192
   int             descriptor = SERVER_FD( serp ) ;
192
   int             descriptor = SERVER_FD( serp ) ;
193
   const char     *func = "dgram_echo";
193
   const char     *func = "dgram_echo";
(-)xinetd-2.3.13/xinetd/tcpint.c (-2 / +2 lines)
Lines 273-279 static void connection_request( struct i Link Here
273
static stream_status_e tcp_local_to_remote( channel_s *chp )
273
static stream_status_e tcp_local_to_remote( channel_s *chp )
274
{
274
{
275
   char  buf[ DATAGRAM_SIZE ] ;
275
   char  buf[ DATAGRAM_SIZE ] ;
276
   int   rcc, wcc ;
276
   size_t   rcc, wcc ;
277
   char *p ;
277
   char *p ;
278
   int   left ;
278
   int   left ;
279
   const char *func = "tcp_local_to_remote" ;
279
   const char *func = "tcp_local_to_remote" ;
Lines 326-332 static stream_status_e tcp_local_to_remo Link Here
326
static stream_status_e tcp_remote_to_local( channel_s *chp )
326
static stream_status_e tcp_remote_to_local( channel_s *chp )
327
{
327
{
328
   char  buf[ DATAGRAM_SIZE ] ;
328
   char  buf[ DATAGRAM_SIZE ] ;
329
   int   rcc, wcc ;
329
   size_t   rcc, wcc ;
330
   int   left ;
330
   int   left ;
331
   char *p ;
331
   char *p ;
332
   const char *func = "tcp_remote_to_local" ;
332
   const char *func = "tcp_remote_to_local" ;
(-)xinetd-2.3.13/xinetd/udpint.c (-2 / +2 lines)
Lines 264-270 static status_e get_incoming_packet( str Link Here
264
264
265
   for ( ;; )
265
   for ( ;; )
266
   {
266
   {
267
      int cc ;
267
      size_t cc ;
268
268
269
      from_len = sizeof( pp->from ) ;
269
      from_len = sizeof( pp->from ) ;
270
      cc = recvfrom( INT_REMOTE( ip ), pp->data, pp->size,
270
      cc = recvfrom( INT_REMOTE( ip ), pp->data, pp->size,
Lines 306-312 static status_e get_incoming_packet( str Link Here
306
static status_e udp_local_to_remote( channel_s *chp )
306
static status_e udp_local_to_remote( channel_s *chp )
307
{
307
{
308
   char   buf[ MAX_DATAGRAM_SIZE ] ;
308
   char   buf[ MAX_DATAGRAM_SIZE ] ;
309
   int    cc ;
309
   size_t    cc ;
310
   const char   *func = "udp_local_to_remote" ;
310
   const char   *func = "udp_local_to_remote" ;
311
311
312
   for ( ;; )
312
   for ( ;; )

Return to bug 118878