miniupnpc/listdevices.c: improve output

This commit is contained in:
Thomas Bernard 2014-04-14 18:11:01 +02:00
parent c2273b584e
commit c2b3c70f3d
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $Id$ */
/* $Id: $ */
/* Project : miniupnp
* Author : Thomas Bernard
* Copyright (c) 2013-2014 Thomas Bernard
@ -51,7 +51,7 @@ int main(int argc, char * * argv)
}
if(devlist) {
for(dev = devlist; dev != NULL; dev = dev->pNext) {
printf("%s\t%s\n", dev->st, dev->descURL);
printf("%-48s\t%s\n", dev->st, dev->descURL);
}
freeUPNPDevlist(devlist);
} else {