Merge branch 'master' of github.com:FreeRDP/FreeRDP-1.0
This commit is contained in:
commit
371f7ed874
@ -17,7 +17,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
project(FreeRDP C)
|
||||
set(CMAKE_COLOR_MAKEFILE ON)
|
||||
|
||||
|
@ -86,6 +86,11 @@ void registry_print(rdpRegistry* registry, FILE* fp)
|
||||
void registry_create(rdpRegistry* registry)
|
||||
{
|
||||
registry->fp = fopen(registry->file, "w+");
|
||||
if (registry->fp == NULL)
|
||||
{
|
||||
printf("registry_create: error opening [%s] for writing\n", registry->file);
|
||||
return;
|
||||
}
|
||||
registry_print(registry, registry->fp);
|
||||
fflush(registry->fp);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user