And on diff_to_buffer too.

This commit is contained in:
Ian P. McCullough
2014-05-08 09:01:06 -04:00
parent 0c62c83135
commit 6b3f9e92f7

View File

@@ -106,7 +106,7 @@ Blob_diff_to_buffer(Blob *self, PyObject *args, PyObject *kwds)
char *keywords[] = {"buffer", "flag", "old_as_path", "buffer_as_path", char *keywords[] = {"buffer", "flag", "old_as_path", "buffer_as_path",
NULL}; NULL};
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|s#ssI", keywords, if (!PyArg_ParseTupleAndKeywords(args, kwds, "|s#Iss", keywords,
&buffer, &buffer_len, &opts.flags, &buffer, &buffer_len, &opts.flags,
&old_as_path, &buffer_as_path)) &old_as_path, &buffer_as_path))
return NULL; return NULL;