]> git.tuebingen.mpg.de Git - dss.git/blobdiff - snap.c
get_snapshot_list(): Add comment about sorting.
[dss.git] / snap.c
diff --git a/snap.c b/snap.c
index 8de76d459da1a8844a452fa576d706014b229be9..da95c1f342dc09bcc01d1eef58a075dd721472ef 100644 (file)
--- a/snap.c
+++ b/snap.c
@@ -146,7 +146,7 @@ static int compare_snapshots(const void *a, const void *b)
        return NUM_COMPARE(s2->creation_time, s1->creation_time);
 }
 
-
+/* The returned snapshot list is sorted by creation time. */
 void get_snapshot_list(struct snapshot_list *sl, int unit_interval,
                int num_intervals)
 {