~nik90/ubuntu/precise/transmission/add_quicklist_updated

« back to all changes in this revision

Viewing changes to libtransmission/tr-getopt.c

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Bicha
  • Date: 2011-07-19 10:35:40 UTC
  • mfrom: (2.1.28 experimental)
  • Revision ID: james.westby@ubuntu.com-20110719103540-rhollwusry5x0r5t
Tags: 2.32-1ubuntu1
* Merge with Debian experimental (LP: #715046), remaining changes:
* debian/control:
  - Build-depend on liblaunchpad-integration-dev & libappindicator-dev
  - Keep libcanberra-gtk-dev build-depends
  - Add Vcs-Bzr link
* debian/rules:
  - Don't disable libcanberra
* debian/patches/0102-lpi.patch: Refreshed
* debian/patches/0103-add_X_Ubuntu_specific_desktop_keys.patch: Refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * This file Copyright (C) 2008-2010 Mnemosyne LLC
 
2
 * This file Copyright (C) Mnemosyne LLC
3
3
 *
4
 
 * This file is licensed by the GPL version 2.  Works owned by the
 
4
 * This file is licensed by the GPL version 2. Works owned by the
5
5
 * Transmission project are granted a special exemption to clause 2(b)
6
6
 * so that the bulk of its code can remain under the MIT license.
7
7
 * This exemption does not extend to derived works not owned by
8
8
 * the Transmission project.
9
9
 *
10
 
 * $Id: tr-getopt.c 10782 2010-06-16 14:05:18Z charles $
 
10
 * $Id: tr-getopt.c 11709 2011-01-19 13:48:47Z jordan $
11
11
 */
12
12
 
13
13
#include <ctype.h> /* isspace() */
60
60
                    int               shortWidth,
61
61
                    int               argWidth )
62
62
{
63
 
    int len; 
 
63
    int len;
64
64
    const char * longName   = opt->longName ? opt->longName : "";
65
65
    const char * shortName  = opt->shortName ? opt->shortName : "";
66
66
    const char * arg        = getArgName( opt );