~ubuntu-branches/ubuntu/edgy/freeradius/edgy-updates

« back to all changes in this revision

Viewing changes to debian/patches/14_freeradius-dictionary-fix.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Jeremie Corbier
  • Date: 2006-07-08 19:41:05 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060708194105-2dabtaxd16o7p90g
Tags: 1.1.2-2ubuntu1
* Merge from debian unstable.
* Remove previous patches merged upstream:
  - 14_freeradius-dictionary-fix.dpatch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh /usr/share/dpatch/dpatch-run
2
 
3
 
 
4
 
@DPATCH@
5
 
diff -Naur freeradius-1.1.0.orig/src/lib/dict.c freeradius-1.1.0/src/lib/dict.c
6
 
--- freeradius-1.1.0.orig/src/lib/dict.c        2006-01-09 18:02:47.000000000 -0500
7
 
+++ freeradius-1.1.0/src/lib/dict.c     2006-04-24 12:48:20.000000000 -0400
8
 
@@ -1207,7 +1207,7 @@
9
 
        if (!name) return NULL;
10
 
 
11
 
        hash = dict_hashname(name);
12
 
-       hash = lrad_hash_update(&attr, sizeof(&attr), hash);
13
 
+       hash = lrad_hash_update(&attr, sizeof(attr), hash);
14
 
 
15
 
        return lrad_hash_table_finddata(values_byname, hash);
16
 
 }