Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 84ad7627 authored by rswindell's avatar rswindell

Debug-level log message when invoking a background-load()

Fixed typo in other log msg.
parent 4a596a90
......@@ -307,7 +307,7 @@ js_load(JSContext *cx, uintN argc, jsval *arglist)
}
}
else {
lprintf(LOG_ERR, "!ERROR unabled to locate global js object");
lprintf(LOG_ERR, "!ERROR unable to locate global js object");
}
if((bg->runtime = jsrt_GetNew(JAVASCRIPT_MAX_BYTES, 1000, __FILE__, __LINE__))==NULL) {
......@@ -639,6 +639,7 @@ js_load(JSContext *cx, uintN argc, jsval *arglist)
JS_ENDREQUEST(bg->cx);
JS_ClearContextThread(bg->cx);
bg->sem=&p->bg_sem;
lprintf(LOG_DEBUG, "JavaScript Background Load: %s", path);
success = _beginthread(background_thread,0,bg)!=-1;
JS_RESUMEREQUEST(cx, rc);
if(success) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment