]> code.citadel.org Git - citadel.git/commitdiff
*** empty log message ***
authorArt Cancro <ajc@citadel.org>
Thu, 3 Mar 2005 04:03:53 +0000 (04:03 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 3 Mar 2005 04:03:53 +0000 (04:03 +0000)
webcit/groupdav_put.c
webcit/webserver.c

index aeb25f2592781754f4faefa531d770e83f0cecb7..ad5f6927ee2ae2dc5fa97486a6e389e0c2843b06 100644 (file)
@@ -76,6 +76,7 @@ void groupdav_put(char *dav_pathname, char *dav_ifmatch,
         * FIXME - remove this after KOrg gets fixed.
         */
        strcpy(dav_content_type, supplied_content_type);
+       /* lprintf(9, "Supplied content type: %s\n", dav_content_type); */
        switch (WC->wc_view) {
                case VIEW_ADDRESSBOOK:
                        strcpy(dav_content_type, "text/x-vcard");
@@ -89,6 +90,7 @@ void groupdav_put(char *dav_pathname, char *dav_ifmatch,
                default:
                        break;
        }
+       /* lprintf(9, "  Forced content type: %s\n", dav_content_type); */
 
        /*
         * If an HTTP If-Match: header is present, the client is attempting
index 360062d117facb682e5f5b0282178e9dd812bfbd..a25ea478ccb707ef37a03b86c07c2a58e60f165b 100644 (file)
@@ -413,9 +413,9 @@ int main(int argc, char **argv)
 
        /* Parse command line */
 #ifdef HAVE_OPENSSL
-       while ((a = getopt(argc, argv, "hi:p:t:cs")) != EOF)
+       while ((a = getopt(argc, argv, "hi:p:t:x:cs")) != EOF)
 #else
-       while ((a = getopt(argc, argv, "hi:p:t:c")) != EOF)
+       while ((a = getopt(argc, argv, "hi:p:t:x:c")) != EOF)
 #endif
                switch (a) {
                case 'i':