formatting

SVN revision: 49838
This commit is contained in:
Sebastian Dransfeld 2010-06-24 19:34:15 +00:00
parent 5b724d6089
commit 36b570e9bc
1 changed files with 3 additions and 3 deletions

View File

@ -339,13 +339,13 @@ main(int argc, char **argv)
EINA_LIST_FREE(user_dirs, dir)
{
unsigned int size = strlen(dir) + 1;
size_t count;
size_t count;
count = write(dirsfd, &size, sizeof(int));
count += write(dirsfd, dir, size);
if (count != sizeof (int) + size)
printf("Didn't write all data on dirsfd");
if (count != sizeof (int) + size)
printf("Didn't write all data on dirsfd");
if (!cache_scan(dir, NULL, priority, 0, &changed)) goto error;
eina_stringshare_del(dir);