18 lines
524 B
Text
18 lines
524 B
Text
Fix error: expected expression before '/' token
|
|
|
|
Index: miniupnpcmodule.c
|
|
--- miniupnpcmodule.c.orig
|
|
+++ miniupnpcmodule.c
|
|
@@ -323,9 +323,9 @@ Py_END_ALLOW_THREADS
|
|
}
|
|
else
|
|
{
|
|
- // TODO: RAISE an Exception. See upnpcommands.h for errors codes.
|
|
- // upnperrors.c
|
|
- //Py_RETURN_FALSE;
|
|
+ /* TODO: RAISE an Exception. See upnpcommands.h for errors codes. */
|
|
+ /* upnperrors.c */
|
|
+ /* Py_RETURN_FALSE; */
|
|
/* TODO: have our own exception type ! */
|
|
PyErr_SetString(PyExc_Exception, strupnperror(r));
|
|
return NULL;
|