Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-cups.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Mar 2001 00:09:20 -0600 (CST)
guy         2001/03/15 00:09:20 CST

  Modified files:
    .                    packet-cups.c 
  Log:
  Display the printer type/capability bits in the standard way we display
  bitfields.
  
  Rename "get_space()" to "skip_space()", to indicate what it does, and
  have it return FALSE if the first non-blank character it found was a CR
  or LF (meaning "end of packet").  If it returns FALSE, stop dissecting
  the packet.
  
  In "get_unquoted_string()", search not only for a space, but also for a
  tab, CR, or LF; there is no guarantee that there will be any fields in
  the packet past the URI (CUPS 1.0[.x] didn't put anything after the URI,
  and that's what I'm running on my machine...).
  
  Revision  Changes    Path
  1.3       +70 -60    ethereal/packet-cups.c