]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afs.c
afs ls -lv: Also print the tag info.
[paraslash.git] / afs.c
diff --git a/afs.c b/afs.c
index d5da1e557ee3d2df242ced8fff3c2991e803967c..cafe9b474d11be29ba911c929d43fb9e05b60b8e 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -919,5 +919,16 @@ int com_check(int fd, int argc, char * const * const argv)
                                return ret;
                }
        }
+       if (flags & CHECK_MOODS) {
+               ret = send_callback_request(mood_check_callback, NULL, &result);
+               if (ret < 0)
+                       return ret;
+               if (ret > 0) {
+                       ret = send_buffer(fd, (char *) result.data);
+                       free(result.data);
+                       if (ret < 0)
+                               return ret;
+               }
+       }
        return 1;
 }