minor things

This commit is contained in:
Thomas Bernard 2012-06-24 00:56:24 +02:00
parent c585986d2f
commit 19adf87029
2 changed files with 5 additions and 4 deletions

View File

@ -229,8 +229,9 @@ char * simpleUPnPcommand(int s, const char * url, const char * service,
{ {
char * buf; char * buf;
#if 1
buf = simpleUPnPcommand2(s, url, service, action, args, bufsize, "1.1"); buf = simpleUPnPcommand2(s, url, service, action, args, bufsize, "1.1");
/* #else
buf = simpleUPnPcommand2(s, url, service, action, args, bufsize, "1.0"); buf = simpleUPnPcommand2(s, url, service, action, args, bufsize, "1.0");
if (!buf || *bufsize == 0) if (!buf || *bufsize == 0)
{ {
@ -239,7 +240,7 @@ char * simpleUPnPcommand(int s, const char * url, const char * service,
#endif #endif
buf = simpleUPnPcommand2(s, url, service, action, args, bufsize, "1.1"); buf = simpleUPnPcommand2(s, url, service, action, args, bufsize, "1.1");
} }
*/ #endif
return buf; return buf;
} }

View File

@ -1,7 +1,7 @@
/* $Id: upnpcommands.c,v 1.39 2012/04/09 12:49:27 nanard Exp $ */ /* $Id: upnpcommands.c,v 1.40 2012/06/23 22:36:35 nanard Exp $ */
/* Project : miniupnp /* Project : miniupnp
* Author : Thomas Bernard * Author : Thomas Bernard
* Copyright (c) 2005-2011 Thomas Bernard * Copyright (c) 2005-2012 Thomas Bernard
* This software is subject to the conditions detailed in the * This software is subject to the conditions detailed in the
* LICENCE file provided in this distribution. * LICENCE file provided in this distribution.
* */ * */