diff options
Diffstat (limited to 'src/nat/miniupnp/upnpcommands.c')
-rw-r--r-- | src/nat/miniupnp/upnpcommands.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nat/miniupnp/upnpcommands.c b/src/nat/miniupnp/upnpcommands.c index 7a342540a..8b59bc7cc 100644 --- a/src/nat/miniupnp/upnpcommands.c +++ b/src/nat/miniupnp/upnpcommands.c | |||
@@ -435,8 +435,7 @@ UPNP_GetGenericPortMappingEntry (const char *controlURL, | |||
435 | int r = UPNPCOMMAND_UNKNOWN_ERROR; | 435 | int r = UPNPCOMMAND_UNKNOWN_ERROR; |
436 | if (!index) | 436 | if (!index) |
437 | return UPNPCOMMAND_INVALID_ARGS; | 437 | return UPNPCOMMAND_INVALID_ARGS; |
438 | intClient[0] = '\0'; | 438 | |
439 | intPort[0] = '\0'; | ||
440 | GetPortMappingArgs = calloc (2, sizeof (struct UPNParg)); | 439 | GetPortMappingArgs = calloc (2, sizeof (struct UPNParg)); |
441 | GetPortMappingArgs[0].elt = "NewPortMappingIndex"; | 440 | GetPortMappingArgs[0].elt = "NewPortMappingIndex"; |
442 | GetPortMappingArgs[0].val = index; | 441 | GetPortMappingArgs[0].val = index; |