Ignore:
Timestamp:
Jun 28, 2011, 6:49:53 PM (14 years ago)
Author:
Silvan Scherrer
Message:

samba server 3.3: reworked os2_getexename()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/dynconfig.c

    r482 r585  
    110110        {
    111111                char exedir[1024] = "";
    112                 if (os2_GetExePath(exedir) != 0)
     112                if (!os2_GetExePath(exedir))
    113113                {
    114114                        snprintf(buffer, 260, "%s", SBINDIR);
     
    131131        {
    132132                char exedir[1024] = "";
    133                 if (os2_GetExePath(exedir) != 0)
     133                if (!os2_GetExePath(exedir))
    134134                {
    135135                        snprintf(buffer, 260, "%s", BINDIR);
     
    152152        {
    153153                char exedir[1024] = "";
    154                 if (os2_GetExePath(exedir) != 0)
     154                if (!os2_GetExePath(exedir))
    155155                {
    156156                        snprintf(buffer, 260, "%s", SWATDIR);
     
    233233        {
    234234                char exedir[1024] = "";
    235                 if (os2_GetExePath(exedir) != 0)
     235                if (!os2_GetExePath(exedir))
    236236                {
    237237                        snprintf(buffer, 260, "%s", CODEPAGEDIR);
     
    254254        {
    255255                char exedir[1024] = "";
    256                 if (os2_GetExePath(exedir) != 0)
     256                if (!os2_GetExePath(exedir))
    257257                {
    258258                        snprintf(buffer, 260, "%s", LIBDIR);
     
    275275        {
    276276                char exedir[1024] = "";
    277                 if (os2_GetExePath(exedir) != 0)
     277                if (!os2_GetExePath(exedir))
    278278                {
    279279                        snprintf(buffer, 260, "%s", MODULESDIR);
     
    357357        {
    358358                char exedir[1024] = "";
    359                 if (os2_GetExePath(exedir) != 0)
     359                if (!os2_GetExePath(exedir))
    360360                {
    361361                        snprintf(buffer, 260, "%s", LIBDIR);
Note: See TracChangeset for help on using the changeset viewer.