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:
@@ -349,7 +349,7 @@ http_SendMessage( IN SOCKINFO * info,
|
||||
filename = ( char * )va_arg( argp, char * );
|
||||
|
||||
if( Instr && Instr->IsVirtualFile )
|
||||
Fp = virtualDirCallback.open( filename, UPNP_READ );
|
||||
Fp = (virtualDirCallback.open)( filename, UPNP_READ );
|
||||
else
|
||||
Fp = fopen( filename, "rb" );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user