]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
fix up string array splitting code
authorRay Strode <rstrode@redhat.com>
Wed, 20 Aug 2008 19:40:51 +0000 (15:40 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 20 Aug 2008 19:50:56 +0000 (15:50 -0400)
p = q should have been q = p

src/client/ply-boot-client.c

index 56a0c66ed79083a58a5ac09f36713a6c61130bfb..f863fa70b6881ab72ff859349a8b0a3342fa2f02 100644 (file)
@@ -311,7 +311,7 @@ ply_boot_client_process_incoming_replies (ply_boot_client_t *client)
       array = ply_array_new ();
 
       p = answer;
-      p = q;
+      q = p;
       for (i = 0; i < size; i++, q++)
         {
           if (*q == '\0')