Changeset 3584
- Timestamp:
- 08/22/08 17:33:50 (3 months ago)
- Files:
-
- 1 modified
-
plugins/file-sync/src/file_sync.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugins/file-sync/src/file_sync.c
r3563 r3584 171 171 osync_data_get_data(odata, &buffer, &size); 172 172 g_assert(buffer); 173 g_assert(size == sizeof(OSyncFileFormat)); 173 if (size != sizeof(OSyncFileFormat)) { 174 osync_error_set(&error, OSYNC_ERROR_MISCONFIGURATION, 175 "The plugin file-sync only supports file format. Please re-configure and discover the plugin again."); 176 goto error; 177 } 174 178 175 179 OSyncFileFormat *file = (OSyncFileFormat *)buffer;
