compilation fix

This commit is contained in:
roberto@sirius
2010-09-30 14:08:05 +02:00
parent 46b715fcc3
commit 33bd68c44c
+1 -1
View File
@@ -1622,7 +1622,7 @@ void init_uwsgi_vars() {
PyDict_SetItemString(pysys_dict, "exec_prefix", venv_path);
venv_version[14] = 0 ;
if (snprintf(venv_version, 15, "%.*s/lib/python%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION) == -1) {
if (snprintf(venv_version, 15, "/lib/python%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION) == -1) {
return ;
}