X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2Fdolmod.c;h=238f88651b5f102563ed377715d5314a944d4540;hb=8351f3374f9da42acd7251d26b962bae0d3890d5;hp=4f46682c4a271151a464d34260ac3c111cabd692;hpb=0931eb36fd5528e336ecb69e801b05e8062b64fd;p=doldaconnect.git diff --git a/lib/python/dolmod.c b/lib/python/dolmod.c index 4f46682..238f886 100644 --- a/lib/python/dolmod.c +++ b/lib/python/dolmod.c @@ -1,6 +1,6 @@ /* * Dolda Connect - Modular multiuser Direct Connect-style client - * Copyright (C) 2004 Fredrik Tolf (fredrik@dolda2000.com) + * Copyright (C) 2004 Fredrik Tolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -402,7 +402,7 @@ static PyObject *mod_checkproto(PyObject *self, PyObject *args) PyErr_SetString(PyExc_TypeError, "first argument must be a response object"); return(NULL); } - resp = tmp; + resp = (struct respobj *)tmp; if(dc_checkprotocol(resp->resp, version)) Py_RETURN_FALSE; else