~ubuntu-branches/ubuntu/vivid/minissdpd/vivid

« back to all changes in this revision

Viewing changes to testcodelength.c

  • Committer: Package Import Robot
  • Author(s): Thomas Goirand
  • Date: 2014-05-28 06:47:51 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20140528064751-nutklh6s3asbp1r2
Tags: 1.2.20130907-1
* New upstream release (Closes: #719612).
* Fixed typo in package description (Closes: #653027).
* Removed 0001-always-disable-link_ntoa.diff, let's see if that still
  works in FreeBSD.
* Switched to compat level 9 and bumped standards-version.
* VCS URLs now canonical.
* Using DPKG_EXPORT_BUILDFLAGS and hardening=+all.
* Removed the [ $VERBOSE ] cruft from init script.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: testcodelength.c,v 1.2 2011/06/17 23:05:00 nanard Exp $ */
 
1
/* $Id: testcodelength.c,v 1.3 2012/05/02 10:30:26 nanard Exp $ */
2
2
/* Project : miniupnp
3
3
 * Author : Thomas BERNARD
4
4
 * copyright (c) 2005-2008 Thomas Bernard
12
12
        unsigned char buf[256];
13
13
        unsigned char * p;
14
14
        long i, j;
 
15
        (void)argc; (void)argv;
15
16
 
16
17
        for(i = 1; i < 1000000000; i *= 2) {
17
18
                /* encode i, decode to j */