Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cvs commit: projects/csup detailer.c proto.c proto.h

mux         2006-01-23 02:40:13 UTC

  FreeBSD projects repository

  Modified files:
    csup                 detailer.c proto.c proto.h 
  - Add proto_get_rest() that eats the rest of the string sent by the server,
    this is mainly useful for printing server warnings.
  - Use proto_get_rest() everywhere in proto.c and correct some usage of
    the proto API.
  - Remove a bogus XXX comment in detailer.c and handle being sent a
    warning from the server with proto_get_rest().  Also print a warning
    if we are sent an unknown command.
  Revision  Changes    Path
  1.33      +23 -7     projects/csup/detailer.c
  1.50      +70 -27    projects/csup/proto.c
  1.9       +1 -0      projects/csup/proto.h