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

samba server 3.5: reworked os2_getexename()

File:
1 edited

Legend:

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

    r483 r586  
    112112        {
    113113                char exedir[1024] = "";
    114                 if (os2_GetExePath(exedir) != 0)
     114                if (!os2_GetExePath(exedir))
    115115                {
    116116                        snprintf(buffer, 260, "%s", SBINDIR);
     
    133133        {
    134134                char exedir[1024] = "";
    135                 if (os2_GetExePath(exedir) != 0)
     135                if (!os2_GetExePath(exedir))
    136136                {
    137137                        snprintf(buffer, 260, "%s", BINDIR);
     
    154154        {
    155155                char exedir[1024] = "";
    156                 if (os2_GetExePath(exedir) != 0)
     156                if (!os2_GetExePath(exedir))
    157157                {
    158158                        snprintf(buffer, 260, "%s", SWATDIR);
     
    235235        {
    236236                char exedir[1024] = "";
    237                 if (os2_GetExePath(exedir) != 0)
     237                if (!os2_GetExePath(exedir))
    238238                {
    239239                        snprintf(buffer, 260, "%s", CODEPAGEDIR);
     
    256256        {
    257257                char exedir[1024] = "";
    258                 if (os2_GetExePath(exedir) != 0)
     258                if (!os2_GetExePath(exedir))
    259259                {
    260260                        snprintf(buffer, 260, "%s", LIBDIR);
     
    277277        {
    278278                char exedir[1024] = "";
    279                 if (os2_GetExePath(exedir) != 0)
     279                if (!os2_GetExePath(exedir))
    280280                {
    281281                        snprintf(buffer, 260, "%s", MODULESDIR);
     
    359359        {
    360360                char exedir[1024] = "";
    361                 if (os2_GetExePath(exedir) != 0)
     361                if (!os2_GetExePath(exedir))
    362362                {
    363363                        snprintf(buffer, 260, "%s", LIBDIR);
     
    380380        {
    381381                char exedir[1024] = "";
    382                 if (os2_GetExePath(exedir) != 0)
     382                if (!os2_GetExePath(exedir))
    383383                {
    384384                        snprintf(buffer, 260, "%s", NCALRPCDIR);
Note: See TracChangeset for help on using the changeset viewer.