~ubuntu-branches/ubuntu/raring/maradns/raring

« back to all changes in this revision

Viewing changes to update/1.4.01/maradns-1.3.14-geist.patch

  • Committer: Bazaar Package Importer
  • Author(s): Kai Hendry
  • Date: 2010-01-24 12:17:40 UTC
  • mfrom: (1.1.13 upstream) (10.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100124121740-a4e1fjobwaouz443
Tags: 1.4.02-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- maradns-1.3.14/parse/Csv2_parse.c   2009-08-04 11:52:44.000000000 -0500
 
2
+++ maradns-1.3.15/parse/Csv2_parse.c   2009-08-25 11:05:19.000000000 -0500
 
3
@@ -723,7 +723,7 @@
 
4
         /* Get 1st character; we use a sub function so we can use the
 
5
          * same code as process_something */
 
6
         o = process_1stchar(stream,csv2_is_starwhitis_ordot,"Z");
 
7
-        if(o == 0) {
 
8
+        if(o == 0 || o->string == 0) {
 
9
                 return 0;
 
10
         }
 
11