Added id tag to reference section
[idzebra-moved-to-github.git] / index / zrpn.c
index 1c52b27..9483fe0 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: zrpn.c,v 1.225 2006-07-31 12:26:56 adam Exp $
+/* $Id: zrpn.c,v 1.227 2006-08-31 08:35:48 adam Exp $
    Copyright (C) 1995-2006
    Index Data ApS
 
@@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 for more details.
 
 You should have received a copy of the GNU General Public License
-along with Zebra; see the file LICENSE.zebra.  If not, write to the
-Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
 */
 
 #include <stdio.h>
@@ -2634,7 +2634,7 @@ ZEBRA_RES rpn_scan(ZebraHandle zh, ODR stream, Z_AttributesPlusTerm *zapt,
     if (ord_no == 0)
     {
         *num_entries = 0;
-        return ZEBRA_OK;
+        return ZEBRA_FAIL;
     }
     /* prepare dictionary scanning */
     if (num < 1)