~ubuntu-branches/ubuntu/intrepid/gnunet/intrepid

« back to all changes in this revision

Viewing changes to src/applications/fs/gap/migration.c

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2008-08-19 19:44:30 UTC
  • mfrom: (1.2.12 upstream) (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20080819194430-x5gjv8wd7t7ldkp0
Tags: 0.8.0a-1ubuntu1
* Merge from debian unstable, remaining changes: (LP: #256576)
  - debian/rules:
   + Make use of code from cdbs' clean-la.mk file to clear the
      dependency_libs field in all .la files in the gnunet-dev 
      package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
299
299
    et -= now;
300
300
  else
301
301
    et = 0;
302
 
  et %= GNUNET_GAP_MAX_MIGRATION_EXP;
 
302
  if (ntohl (value->type) == GNUNET_ECRS_BLOCKTYPE_KEYWORD)
 
303
    et %= GNUNET_GAP_MAX_MIGRATION_EXP_KSK;
 
304
  else
 
305
    et %= GNUNET_GAP_MAX_MIGRATION_EXP;
303
306
  anonymity = ntohl (value->anonymity_level);
304
307
  ret = 0;
305
308
  if ((anonymity == 0) ||