Fix: grab more than one packet for snapshots
[lttng-tools.git] / src / bin / lttng-sessiond / snapshot.c
index 1060269f3a9e0b15232f07ec380e643fb027a18c..f9366b36e5cab2ea27f8474af7286a4437a7d050 100644 (file)
@@ -47,10 +47,11 @@ static int output_init(uint64_t max_size, const char *name,
 {
        int ret = 0, i;
 
-       assert(output);
-
        memset(output, 0, sizeof(struct snapshot_output));
 
+       /*
+        * max_size of -1ULL means unset. Set to default (unlimited).
+        */
        if (max_size == (uint64_t) -1ULL) {
                max_size = 0;
        }
This page took 0.02433 seconds and 5 git commands to generate.