Changed the calls to virtualDirCallback.open(filename, UPNP_WRITE)
to (virtualDirCallback.open)(filename, UPNP_WRITE) (notice the parenthesis) due to a change in glibc that produces compilation errors. git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@223 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
		@@ -2,6 +2,12 @@
 | 
				
			|||||||
Version 1.6.1
 | 
					Version 1.6.1
 | 
				
			||||||
*******************************************************************************
 | 
					*******************************************************************************
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					2007-08-28 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
 | 
				
			||||||
 | 
						* Changed the calls to virtualDirCallback.open(filename, UPNP_WRITE)
 | 
				
			||||||
 | 
						to (virtualDirCallback.open)(filename, UPNP_WRITE) (notice the
 | 
				
			||||||
 | 
						parenthesis) due to a change in glibc that produces compilation
 | 
				
			||||||
 | 
						errors.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2007-08-28 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
 | 
					2007-08-28 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
 | 
				
			||||||
	* Initialization of the "randomness" struct so that valgrind does not
 | 
						* Initialization of the "randomness" struct so that valgrind does not
 | 
				
			||||||
	complain.
 | 
						complain.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -349,7 +349,7 @@ http_SendMessage( IN SOCKINFO * info,
 | 
				
			|||||||
            filename = ( char * )va_arg( argp, char * );
 | 
					            filename = ( char * )va_arg( argp, char * );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if( Instr && Instr->IsVirtualFile )
 | 
					            if( Instr && Instr->IsVirtualFile )
 | 
				
			||||||
                Fp = virtualDirCallback.open( filename, UPNP_READ );
 | 
					                Fp = (virtualDirCallback.open)( filename, UPNP_READ );
 | 
				
			||||||
            else
 | 
					            else
 | 
				
			||||||
                Fp = fopen( filename, "rb" );
 | 
					                Fp = fopen( filename, "rb" );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1532,7 +1532,7 @@ http_RecvPostMessage( http_parser_t * parser,
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    if( Instr && Instr->IsVirtualFile ) {
 | 
					    if( Instr && Instr->IsVirtualFile ) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        Fp = virtualDirCallback.open( filename, UPNP_WRITE );
 | 
					        Fp = (virtualDirCallback.open)( filename, UPNP_WRITE );
 | 
				
			||||||
        if( Fp == NULL ) {
 | 
					        if( Fp == NULL ) {
 | 
				
			||||||
            return HTTP_INTERNAL_SERVER_ERROR;
 | 
					            return HTTP_INTERNAL_SERVER_ERROR;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user