This removes the 3rd argument from init_unistr2(). There were 240
[vlendec/samba-autobuild/.git] / source3 / python / py_spoolss_forms_conv.c
index 095a318fd243bd27f86d06638562e1bd709e7921..40f7de8fdc9de50f0233c8a9f00da3438b215fd8 100644 (file)
@@ -81,7 +81,7 @@ BOOL py_to_FORM(FORM *form, PyObject *dict)
        obj = PyDict_GetItemString(dict, "name");
        name = PyString_AsString(obj);
 
-       init_unistr2(&form->name, name, strlen(name) + 1);
+       init_unistr2(&form->name, name);
        
        result = True;