Merge branch 'sg/cvs-tests-with-x'
[gitweb.git] / http-push.c
index 8814aa12e9562f49616ccce90b29595bbdacf1f4..7dcd9daf62cf07e1cc43022fde17607cef6dc147 100644 (file)
@@ -915,6 +915,10 @@ static struct remote_lock *lock_remote(const char *path, long timeout)
                                lock->timeout = -1;
                        }
                        XML_ParserFree(parser);
+               } else {
+                       fprintf(stderr,
+                               "error: curl result=%d, HTTP code=%ld\n",
+                               results.curl_result, results.http_code);
                }
        } else {
                fprintf(stderr, "Unable to start LOCK request\n");