]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Update 1.2 stuff from laptop.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Mon, 14 May 2001 18:01:22 +0000 (18:01 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Mon, 14 May 2001 18:01:22 +0000 (18:01 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/branches/branch-1.2@1721 7a7537e8-13f0-0310-91df-b6672ffda945

notifier/Makefile
scheduler/client.c

index 6904bdce2a1b6962f30639dd21520d2be25c6814..a81ee6846ae934b30b76a6fcd4a17f334edb9775 100644 (file)
@@ -1,5 +1,5 @@
 #
-# "$Id: Makefile,v 1.1.2.1 2001/04/02 19:53:14 mike Exp $"
+# "$Id: Makefile,v 1.1.2.2 2001/05/14 18:01:22 mike Exp $"
 #
 #   Notifier makefile for the Common UNIX Printing System (CUPS).
 #
@@ -24,8 +24,8 @@
 
 include ../Makedefs
 
-TARGETS =      mailto
-OBJS   =       mailto.o
+TARGETS =      indp ippget mailto
+OBJS   =       indp.o ippget.o mailto.o
 
 
 #
@@ -54,6 +54,30 @@ install:
        $(INSTALL_BIN) $(TARGETS) $(SERVERBIN)/notifier
 
 
+#
+# indp
+#
+
+indp:  indp.o ../cups/$(LIBCUPS)
+       echo Linking $@...
+       $(CC) $(LDFLAGS) -o indp indp.o $(LIBS)
+
+indp.o:        ../cups/cups.h ../cups/ipp.h ../cups/language.h \
+               ../cups/string.h
+
+
+#
+# ippget
+#
+
+ippget:        ippget.o ../cups/$(LIBCUPS)
+       echo Linking $@...
+       $(CC) $(LDFLAGS) -o ippget ippget.o $(LIBS)
+
+ippget.o:      ../cups/cups.h ../cups/ipp.h ../cups/language.h \
+               ../cups/string.h
+
+
 #
 # mailto
 #
@@ -69,5 +93,5 @@ mailto.o:     ../cups/cups.h ../cups/ipp.h ../cups/language.h \
 $(OBJS):       ../config.h ../Makedefs
 
 #
-# End of "$Id: Makefile,v 1.1.2.1 2001/04/02 19:53:14 mike Exp $".
+# End of "$Id: Makefile,v 1.1.2.2 2001/05/14 18:01:22 mike Exp $".
 #
index 5301067fa0510b1bb955325d6ef25a38dce64c88..6fee41f9442383aee796aa933c4a561b02db6c8c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: client.c,v 1.91.2.2 2001/05/13 18:38:34 mike Exp $"
+ * "$Id: client.c,v 1.91.2.3 2001/05/14 18:01:22 mike Exp $"
  *
  *   Client routines for the Common UNIX Printing System (CUPS) scheduler.
  *
@@ -719,6 +719,8 @@ ReadClient(client_t *con)   /* I - Client to read from */
        httpPrintf(HTTP(con), "\r\n");
 
         EncryptClient(con);
+
+       status = IsAuthorized(con);
 #else
        if (!SendError(con, HTTP_NOT_IMPLEMENTED))
        {
@@ -728,7 +730,7 @@ ReadClient(client_t *con)   /* I - Client to read from */
 #endif /* HAVE_LIBSSL */
       }
 
-      if ((status = IsAuthorized(con)) != HTTP_OK)
+      if (status != HTTP_OK)
       {
        SendError(con, status);
        CloseClient(con);
@@ -2132,5 +2134,5 @@ pipe_command(client_t *con,       /* I - Client connection */
 
 
 /*
- * End of "$Id: client.c,v 1.91.2.2 2001/05/13 18:38:34 mike Exp $".
+ * End of "$Id: client.c,v 1.91.2.3 2001/05/14 18:01:22 mike Exp $".
  */