[Pkg-cups-devel] Bug#644205: http-support.c httpStatus problem...

ael law_ence.dev at ntlworld.com
Tue Oct 11 16:15:25 UTC 2011


I decided to try to understand what is wrong with:

# lpinfo -m
lpinfo: Unknown

as it looked as if it might be simpler to debug. In particular, I
needed to know where this useless message "Unknown" originated.

To that end, I installed source and greped, found the likely 
candidate, modified the string and recompiled.

Thus I confirm that the message comes from http-support.c, line 1340
which is the default clause in a switch statement:


httpStatus(http_status_t status)/* I - HTTP status code */
{
  const char*s;g */
  _cups_globals_t *cg = _cupsGlobals();/* Global data */


    cg->lang_default = cupsLangDefault();

  switch (status)
  {
  ...


ael







More information about the Pkg-cups-devel mailing list