Ignore:
Timestamp:
Aug 2, 2010, 8:16:45 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: trunk update to 3.5.4

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/param/loadparm.c

    r454 r480  
    46784678                        string_set(&pService->szPrintcommand, "lpr.exe -b -s %i -p %p %s & cmd.exe /c del %s");
    46794679                        break;
    4680 #endif         
     4680#endif
    46814681
    46824682                case PRINT_LPRNG:
     
    49764976           characters - default to system codepage */
    49774977        string_set(&Globals.display_charset, OS2CodePageStr);
    4978 #endif 
     4978#endif
    49794979
    49804980#else
     
    56365636int lp_cups_encrypt(void)
    56375637{
     5638        int result = 0;
    56385639#ifdef HAVE_HTTPCONNECTENCRYPT
    56395640        switch (Globals.CupsEncrypt) {
    56405641                case Auto:
    5641                         Globals.CupsEncrypt = HTTP_ENCRYPT_REQUIRED;
     5642                        result = HTTP_ENCRYPT_REQUIRED;
    56425643                        break;
    56435644                case True:
    5644                         Globals.CupsEncrypt = HTTP_ENCRYPT_ALWAYS;
     5645                        result = HTTP_ENCRYPT_ALWAYS;
    56455646                        break;
    56465647                case False:
    5647                         Globals.CupsEncrypt = HTTP_ENCRYPT_NEVER;
     5648                        result = HTTP_ENCRYPT_NEVER;
    56485649                        break;
    56495650        }
    56505651#endif
    5651         return Globals.CupsEncrypt;
     5652        return result;
    56525653}
    56535654FN_GLOBAL_STRING(lp_iprint_server, &Globals.szIPrintServer)
Note: See TracChangeset for help on using the changeset viewer.