Tweak www/pear-Structures_DataGrid_Renderer_Pager version 0.1.3
[dports.git] / news / cnews / files / patch-fileart.c
1 --- relay/fileart.c.orig        1995-04-28 02:51:36.000000000 +0200
2 +++ relay/fileart.c     2014-02-07 17:03:01.000000000 +0100
3 @@ -791,7 +805,7 @@
4                 canthappen(art, 'i',
5                         "mkcopies called with ST_REFUSED set (can't happen)", "");
6         if (links == NULL)      /* fileart failed? */
7 -               return;
8 +               return 0;
9  
10         /* fill in any empty links */
11         for (lp = link1; lp < linklim; lp++) {
12 @@ -807,4 +821,5 @@
13                 nnfree(&lp->l_num);
14         }
15         free((char *)links);
16 +       return 0;
17  }