e5671f2d9d
Confirmed by Petr Janda on pkgsrc-users. Thanks!
13 lines
542 B
Text
13 lines
542 B
Text
$NetBSD: patch-ac,v 1.1 2007/12/11 13:35:37 yyamano Exp $
|
|
|
|
--- tests/mock-plugin/mock_sync.c.orig 2007-03-27 20:49:19.000000000 +0900
|
|
+++ tests/mock-plugin/mock_sync.c
|
|
@@ -224,7 +224,7 @@ static void mock_get_changeinfo(OSyncCon
|
|
return;
|
|
}
|
|
while ((de = g_dir_read_name(dir))) {
|
|
- char *filename = g_build_filename(env->path, de, NULL);
|
|
+ char *filename = g_build_filename(env->path, de, (char *)NULL);
|
|
if (g_file_test(filename, G_FILE_TEST_IS_REGULAR)) {
|
|
/* Report normal files */
|
|
OSyncChange *change = osync_change_new();
|