X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Freclists.c;h=a6e63eee91c395d30ea117c21c2da903a07d669c;hb=c61cbac9542ca9443e4fb0c215240bd9053a54f8;hp=738fdc481621d340533d4abc3949ec8d394840aa;hpb=d7dc14dcdfbd1ecdc805a0d649203f3b9888749c;p=pazpar2-moved-to-github.git diff --git a/src/reclists.c b/src/reclists.c index 738fdc4..a6e63ee 100644 --- a/src/reclists.c +++ b/src/reclists.c @@ -1,7 +1,5 @@ -/* $Id: reclists.c,v 1.23 2007-09-10 16:25:50 adam Exp $ - Copyright (c) 2006-2007, Index Data. - -This file is part of Pazpar2. +/* This file is part of Pazpar2. + Copyright (C) 2006-2009 Index Data Pazpar2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -14,15 +12,15 @@ 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 Pazpar2; see the file LICENSE. 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 #if HAVE_CONFIG_H -#include +#include #endif #include @@ -95,11 +93,11 @@ reclist_sortparms_insert(NMEM nmem, #endif -struct reclist_sortparms *reclist_parse_sortparms(NMEM nmem, const char *parms) +struct reclist_sortparms *reclist_parse_sortparms(NMEM nmem, const char *parms, + struct conf_service *service) { struct reclist_sortparms *res = 0; struct reclist_sortparms **rp = &res; - struct conf_service *service = config->servers->service; if (strlen(parms) > 256) return 0; @@ -342,7 +340,9 @@ struct record_cluster *reclist_insert( struct reclist *l, /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +