e0a529a151
libnatpmp-20110808 -> libnatpmp-20120821 minissdpd-1.1.20120121 -> minissdpd-1.2 miniupnpc-1.6 -> miniupnpc-1.7 miniupnpd-1.6.20120207 -> miniupnpd-1.7 OK ajacoutot@
20 lines
623 B
Plaintext
20 lines
623 B
Plaintext
$OpenBSD: patch-miniupnpcmodule_c,v 1.1 2012/10/18 14:56:55 dcoppa Exp $
|
|
|
|
Fix error: expected expression before '/' token
|
|
|
|
--- miniupnpcmodule.c.orig Thu Oct 18 10:29:03 2012
|
|
+++ miniupnpcmodule.c Thu Oct 18 10:29:46 2012
|
|
@@ -246,9 +246,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;
|