]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix : dead lock when there is already an active job 5054/head
authorsanbrother <sanbrother@hotmail.com>
Tue, 11 Jul 2017 06:28:23 +0000 (14:28 +0800)
committersanbrother <sanbrother@hotmail.com>
Tue, 11 Jul 2017 06:28:23 +0000 (14:28 +0800)
test/ippserver.c

index e93763dbe83d0ea0266a55d49eecfc22ecaa6c0b..02dbdea50a8e710acd32670204fee4640018788a 100644 (file)
@@ -1019,7 +1019,7 @@ create_job(_ipp_client_t *client) /* I - Client */
     * Only accept a single job at a time...
     */
 
-    _cupsRWLockWrite(&(client->printer->rwlock));
+    _cupsRWUnlock(&(client->printer->rwlock));
     return (NULL);
   }