Changeset 646 for trunk/server


Ignore:
Timestamp:
Oct 25, 2011, 9:15:33 PM (14 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: some small adjustments and unneeded function removed

Location:
trunk/server/source3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/dynconfig.c

    r586 r646  
    297297        if (!*buffer)
    298298        {
    299                 if (os2_isClient())
     299                if (lp_is_in_client())
    300300                {
    301301                        snprintf(buffer, 260, "%s/samba/lock/client", getenv("ETC"));
  • trunk/server/source3/lib/os2helper.c

    r586 r646  
    137137
    138138// we search with the exe name if we are in client mode
     139/* not needed atm, as done with lp_is_in_client()
    139140bool os2_isClient()
    140141{
     
    154155        }
    155156}
    156 
     157*/
    157158/* OS/2-specific random functions. these functions used to be based on APR
    158159   random code, but we discovered some nasty problems with it on fast hardware
  • trunk/server/source3/libsmb/clientgen.c

    r454 r646  
    435435                DEBUG(0,("Error writing %d bytes to client. (%s)\n",
    436436                         (int)(len+extradata), strerror(errno)));
     437printf("@remove me, %d bytes written, %d + %d bytes reqested\n", nwritten, len, extradata);
    437438                return false;
    438439        }
Note: See TracChangeset for help on using the changeset viewer.