]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix a crash bug in the test server.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 11 May 2011 03:24:03 +0000 (03:24 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 11 May 2011 03:24:03 +0000 (03:24 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@9758 7a7537e8-13f0-0310-91df-b6672ffda945

test/ippserver.c

index 5d1ce17e9f4cecafb75299e9d1761b0a7f626164..d12225772441e103eabc7f753ad2d94b72d083c8 100644 (file)
@@ -4114,8 +4114,8 @@ valid_job_attributes(
       respond_unsupported(client, attr);
     }
     else
-      fprintf(stderr, "%s Print-Job compression=\"%s\"\n", client->http.hostname,
-             attr->values[0].string.text);
+      fprintf(stderr, "%s Print-Job compression=\"%s\"\n",
+              client->http.hostname, attr->values[0].string.text);
   }
 
  /*
@@ -4187,7 +4187,9 @@ valid_job_attributes(
        break;
 
     if (i >= supported->num_values)
+    {
       respond_unsupported(client, attr);
+    }
   }
 
  /*