source:
freewrt/package/xinetd/patches/xinetd-2.3.13-gcc4-1.patch@
9df7618
| Last change on this file since 9df7618 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 1.3 KB | |
-
xinetd/service.c
Submitted By: Randy McMurchy <randy_at_linuxfromscratch_dot_org> Date: 2005-08-07 Initial Package Version: 2.3.13 Upstream Status: Not submitted Origin: Fedora Development CVS Description: Fixes compilation error if using GCC-4.x diff -Naur xinetd-2.3.13-orig/xinetd/service.c xinetd-2.3.13/xinetd/service.c
old new 764 764 return FAILED; 765 765 766 766 if ( last == NULL ) { 767 last = SAIN( SVC_LAST_DGRAM_ADDR(sp) ) =768 SAIN( calloc( 1, sizeof(union xsockaddr) ));767 SVC_LAST_DGRAM_ADDR(sp) = calloc( 1, sizeof(union xsockaddr) ); 768 last = SAIN(SVC_LAST_DGRAM_ADDR(sp)); 769 769 } 770 770 771 771 (void) time( ¤t_time ) ; … … 791 791 return FAILED; 792 792 793 793 if( last == NULL ) { 794 last = SAIN6(SVC_LAST_DGRAM_ADDR(sp)) =795 SAIN6(calloc( 1, sizeof(union xsockaddr)) );794 SVC_LAST_DGRAM_ADDR(sp) = calloc( 1, sizeof(union xsockaddr) ); 795 last = SAIN6( SVC_LAST_DGRAM_ADDR(sp) ); 796 796 } 797 797 798 798 (void) time( ¤t_time ) ;
Note:
See TracBrowser
for help on using the repository browser.
