]> code.citadel.org Git - citadel.git/blobdiff - webcit/context_loop.c
* Per-session locale. For some reason it doesn't work well.
[citadel.git] / webcit / context_loop.c
index 1667fdc195765f0ae6ef85c60744a5d99d752e50..a2cfad4a8c3d8c30af71835a280aa5e4ca1f45db 100644 (file)
@@ -435,7 +435,7 @@ void context_loop(int sock)
        TheSession->lastreq = time(NULL);                       /* log */
        TheSession->gzip_ok = gzip_ok;
 #ifdef ENABLE_NLS
-       httplang_to_locale(accept_language);    /* FIXME do more here */
+       go_selected_language();
 #endif /* ENABLE_NLS */
        session_loop(req);                              /* do transaction */
        pthread_mutex_unlock(&TheSession->SessionMutex);        /* unbind */