]> Joshua Wise's Git repositories - netwatch.git/blobdiff - tools/poke-rls.c
Don't write to the text console if we don't need to.
[netwatch.git] / tools / poke-rls.c
index 03c4fb1fcf564d652612fd4f7376e0cac0ab11a1..586b4f8776c34ced8e3a47046bb0c6d2b1ef0e73 100644 (file)
@@ -41,9 +41,8 @@ int main(int argc, char **argv)
        printf("returned %p\n", res);
 
        if (res == 42) {
-               printf("%s\n", packet->data);
-               printf("%s\n", packet->data+41);
-               printf("%s\n", packet->data+82);
-               printf("%s\n", packet->data+123);
+               int i;
+               for (i = 0; i < 96; i++)
+                       printf("%s\n", packet->data + i * 41);
        }
 }
This page took 0.024626 seconds and 4 git commands to generate.