From e280c3dd3abb7fd636c06503d0f7041256717387 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Fri, 6 Feb 2015 11:39:39 +0100 Subject: [PATCH] miniupnpc/upnpcommands.c: minor fix to UPNP_GetStatusInfo() *uptime = 0; instead of the useless uptime = 0; --- miniupnpc/upnpcommands.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/miniupnpc/upnpcommands.c b/miniupnpc/upnpcommands.c index 42daceb..8830830 100644 --- a/miniupnpc/upnpcommands.c +++ b/miniupnpc/upnpcommands.c @@ -1,7 +1,7 @@ -/* $Id: upnpcommands.c,v 1.42 2014/01/31 13:18:25 nanard Exp $ */ +/* $Id: upnpcommands.c,v 1.45 2015/02/06 10:37:00 nanard Exp $ */ /* Project : miniupnp * Author : Thomas Bernard - * Copyright (c) 2005-2012 Thomas Bernard + * Copyright (c) 2005-2015 Thomas Bernard * This software is subject to the conditions detailed in the * LICENCE file provided in this distribution. * */ @@ -159,7 +159,7 @@ UPNP_GetStatusInfo(const char * controlURL, if(up) sscanf(up,"%u",uptime); else - uptime = 0; + *uptime = 0; } if(lastconnerror) {