mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
channels: code style cleanup
This commit is contained in:
@@ -654,8 +654,10 @@ void disk_register_disk_path(PDEVICE_SERVICE_ENTRY_POINTS pEntryPoints, char *na
|
||||
int i, length ;
|
||||
|
||||
#ifdef WIN32
|
||||
// We cannot enter pathes like c:\ because : is an arg separator
|
||||
// thus, pathes are entered as c+\ and the + is substitutet here
|
||||
/*
|
||||
* We cannot enter paths like c:\ because : is an arg separator
|
||||
* thus, paths are entered as c+\ and the + is substituted here
|
||||
*/
|
||||
if ( path[1] == '+' )
|
||||
{
|
||||
if ( (path[0]>='a' && path[0]<='z') || (path[0]>='A' && path[0]<='Z') )
|
||||
@@ -696,8 +698,6 @@ void disk_register_disk_path(PDEVICE_SERVICE_ENTRY_POINTS pEntryPoints, char *na
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifdef WITH_STATIC_PLUGINS
|
||||
int disk_entry(PDEVICE_SERVICE_ENTRY_POINTS pEntryPoints)
|
||||
#else
|
||||
@@ -755,4 +755,3 @@ int DeviceServiceEntry(PDEVICE_SERVICE_ENTRY_POINTS pEntryPoints)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -42,4 +42,3 @@ set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR")
|
||||
if(BUILD_TESTING)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user