Commit c62f29f3 authored by Jondy Zhao's avatar Jondy Zhao

Remove extra paramters when return netdrive usage report

parent 77c37339
...@@ -338,7 +338,7 @@ netuse_usage_report(PyObject *self, PyObject *args) ...@@ -338,7 +338,7 @@ netuse_usage_report(PyObject *self, PyObject *args)
&lTotalNumberOfBytes, &lTotalNumberOfBytes,
NULL NULL
)) { )) {
PyObject *pobj = Py_BuildValue("ssLLL", PyObject *pobj = Py_BuildValue("ssLL",
drivename, drivename,
szRemoteName, szRemoteName,
lFreeBytesAvailable, lFreeBytesAvailable,
...@@ -398,7 +398,6 @@ static PyMethodDef NetUseMethods[] = { ...@@ -398,7 +398,6 @@ static PyMethodDef NetUseMethods[] = {
{NULL, NULL, 0, NULL} {NULL, NULL, 0, NULL}
}; };
PyMODINIT_FUNC initnetuse(void) PyMODINIT_FUNC initnetuse(void)
{ {
PyObject* module; PyObject* module;
......
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