summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ctbmodule.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-05-07 15:46:31 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-05-07 15:46:31 (GMT)
commiteeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a (patch)
tree9b22bfb60e2887d640b807d75fdc588349d6222d /Mac/Modules/ctbmodule.c
parentd1d242ec846b99b3be95372093d10f5e3d37f9df (diff)
downloadcpython-eeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a.zip
cpython-eeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a.tar.gz
cpython-eeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a.tar.bz2
- Changed the m# format for PyArg_ParseTuple back to s#
- c2pstr has moved to a different include file
Diffstat (limited to 'Mac/Modules/ctbmodule.c')
-rw-r--r--Mac/Modules/ctbmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/ctbmodule.c b/Mac/Modules/ctbmodule.c
index 6f0923b..907b7bb 100644
--- a/Mac/Modules/ctbmodule.c
+++ b/Mac/Modules/ctbmodule.c
@@ -298,7 +298,7 @@ ctbcm_write(self, args)
char *buf;
ConnectionCompletionUPP cb_upp = NewConnectionCompletionProc(ctbcm_ctbcallback);
- if (!PyArg_Parse(args, "(m#ili)", &buf, &ilen, &chan, &timeout, &flags))
+ if (!PyArg_Parse(args, "(s#ili)", &buf, &ilen, &chan, &timeout, &flags))
return NULL;
len = ilen;
if ((err=CMWrite(self->hdl, (Ptr)buf, &len, (CMChannel)chan,