am 34bff9ae: am 8ac50107: merge from open-source master
diff --git a/adb/file_sync_client.c b/adb/file_sync_client.c
index 0ebfe73..65d4941 100644
--- a/adb/file_sync_client.c
+++ b/adb/file_sync_client.c
@@ -959,7 +959,7 @@
         return 1;
     }
 
-    if(S_ISREG(mode) || S_ISCHR(mode) || S_ISBLK(mode)) {
+    if(S_ISREG(mode) || S_ISLNK(mode) || S_ISCHR(mode) || S_ISBLK(mode)) {
         if(stat(lpath, &st) == 0) {
             if(S_ISDIR(st.st_mode)) {
                     /* if we're copying a remote file to a local directory,