View | Details | Raw Unified
Collapse All | Expand All

(-) htdig-3.2.0b6/htsearch/Display.cc (-1 / +1 lines)
 Lines 137-143   Display::display(int pageNumber) Link Here 
      // Must temporarily stash the message in a String, since
      // Must temporarily stash the message in a String, since
      // displaySyntaxError will overwrite the static temp used in form.
      // displaySyntaxError will overwrite the static temp used in form.
      String s(form("No such sort method: `%s'", (const char*)config->Find("sort")));
      String s("invalid sort method");
      displaySyntaxError(s);
      displaySyntaxError(s);
      return;
      return;
(-) htdig-3.2.0b6/libhtdig/ResultFetch.cc (-1 / +1 lines)
 Lines 142-148   ResultFetch::fetch() Link Here 
        // Must temporarily stash the message in a String, since
        // Must temporarily stash the message in a String, since
        // displaySyntaxError will overwrite the static temp used in form.
        // displaySyntaxError will overwrite the static temp used in form.
        String s(form("No such sort method: `%s'", (const char *) config->Find("sort")));
        String s("invalid sort method");
        displaySyntaxError(s);
        displaySyntaxError(s);
        //return;
        //return;