2003 nullfree(local_res->hash); |
2003 nullfree(local_res->hash); |
2004 local_res->hash = NULL; |
2004 local_res->hash = NULL; |
2005 local_res->skipped = TRUE; |
2005 local_res->skipped = TRUE; |
2006 sync_conflict++; |
2006 sync_conflict++; |
2007 } else { |
2007 } else { |
2008 printf("put: %s\n", local_res->path); |
2008 if(local_res->link_target) { |
|
2009 printf( |
|
2010 "link: %s -> %s\n", |
|
2011 local_res->path, |
|
2012 local_res->link_target); |
|
2013 } else { |
|
2014 printf("put: %s\n", local_res->path); |
|
2015 } |
2009 if(sync_put_resource(dir, res, local_res, &sync_success)) { |
2016 if(sync_put_resource(dir, res, local_res, &sync_success)) { |
2010 sync_error++; |
2017 sync_error++; |
2011 print_resource_error(sn, res->path); |
2018 print_resource_error(sn, res->path); |
2012 ret = -1; |
2019 ret = -1; |
2013 error = 1; |
2020 error = 1; |