Switch to unified view

a/src/query/recollq.cpp b/src/query/recollq.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: recollq.cpp,v 1.6 2007-06-12 08:46:56 dockes Exp $ (C) 2006 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: recollq.cpp,v 1.7 2007-06-19 15:47:25 dockes Exp $ (C) 2006 J.F.Dockes";
3
#endif
3
#endif
4
/*
4
/*
5
 *   This program is free software; you can redistribute it and/or modify
5
 *   This program is free software; you can redistribute it and/or modify
6
 *   it under the terms of the GNU General Public License as published by
6
 *   it under the terms of the GNU General Public License as published by
7
 *   the Free Software Foundation; either version 2 of the License, or
7
 *   the Free Software Foundation; either version 2 of the License, or
...
...
162
    char cpc[20];
162
    char cpc[20];
163
    sprintf(cpc, "%d", pc);
163
    sprintf(cpc, "%d", pc);
164
    cout 
164
    cout 
165
        << doc.mimetype.c_str() << "\t"
165
        << doc.mimetype.c_str() << "\t"
166
        << "[" << doc.url.c_str() << "]" << "\t" 
166
        << "[" << doc.url.c_str() << "]" << "\t" 
167
        << "[" << doc.title.c_str() << "]" << "\t"
167
        << "[" << doc.meta["title"].c_str() << "]" << "\t"
168
        << doc.fbytes.c_str()   << "\tbytes" << "\t"
168
        << doc.fbytes.c_str()   << "\tbytes" << "\t"
169
        <<  endl;
169
        <<  endl;
170
170
171
    if (op_flags & OPT_d) {
171
    if (op_flags & OPT_d) {
172
        string fn = doc.url.substr(7);
172
        string fn = doc.url.substr(7);