Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 86128
Collapse All | Expand All

(-)xinetd/service.c (-4 / +4 lines)
Lines 764-771 Link Here
764
               return FAILED;
764
               return FAILED;
765
765
766
            if ( last == NULL ) {
766
            if ( last == NULL ) {
767
               last = SAIN( SVC_LAST_DGRAM_ADDR(sp) ) = 
767
               last = SAIN( calloc( 1, sizeof(union xsockaddr) ) );
768
		  SAIN( calloc( 1, sizeof(union xsockaddr) ) );
768
               SVC_LAST_DGRAM_ADDR(sp) = (union xsockaddr *)last;
769
            }
769
            }
770
770
771
            (void) time( &current_time ) ;
771
            (void) time( &current_time ) ;
Lines 791-798 Link Here
791
               return FAILED;
791
               return FAILED;
792
792
793
	    if( last == NULL ) {
793
	    if( last == NULL ) {
794
               last = SAIN6(SVC_LAST_DGRAM_ADDR(sp)) = 
794
	       last = SAIN6(calloc( 1, sizeof(union xsockaddr) ) );
795
		  SAIN6(calloc( 1, sizeof(union xsockaddr) ) );
795
	       SVC_LAST_DGRAM_ADDR( sp ) = (union xsockaddr *)last;
796
            }
796
            }
797
797
798
            (void) time( &current_time ) ;
798
            (void) time( &current_time ) ;

Return to bug 86128