~ubuntu-branches/ubuntu/lucid/curl/lucid-201101212007

« back to all changes in this revision

Viewing changes to lib/nwos.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2008-02-08 11:20:41 UTC
  • mto: (3.1.1 lenny) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: james.westby@ubuntu.com-20080208112041-hed7sb5r6ghmjf8v
Tags: upstream-7.18.0
ImportĀ upstreamĀ versionĀ 7.18.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19
19
 * KIND, either express or implied.
20
20
 *
21
 
 * $Id: nwos.c,v 1.3 2007-08-09 22:33:49 gknauf Exp $
 
21
 * $Id: nwos.c,v 1.4 2007-11-07 09:21:35 bagder Exp $
22
22
 ***************************************************************************/
23
23
 
24
24
#ifdef NETWARE /* Novell NetWare */
57
57
    /* import UseAccurateCaseForPaths dynamically for NW3.x compatibility */
58
58
    void (*pUseAccurateCaseForPaths)(int) = (void(*)(int))
59
59
            ImportSymbol(myHandle, "UseAccurateCaseForPaths");
60
 
    if (pUnAugmentAsterisk)
 
60
    if(pUnAugmentAsterisk)
61
61
        pUnAugmentAsterisk(1);
62
 
    if (pUseAccurateCaseForPaths)
 
62
    if(pUseAccurateCaseForPaths)
63
63
        pUseAccurateCaseForPaths(1);
64
64
    UnimportSymbol(myHandle, "UnAugmentAsterisk");
65
65
    UnimportSymbol(myHandle, "UseAccurateCaseForPaths");
66
66
    /* set long name space */
67
 
    if ((SetCurrentNameSpace(4) == 255)) {
 
67
    if((SetCurrentNameSpace(4) == 255)) {
68
68
        rc = 1;
69
69
    }
70
 
    if ((SetTargetNameSpace(4) == 255)) {
 
70
    if((SetTargetNameSpace(4) == 255)) {
71
71
        rc = rc + 2;
72
72
    }
73
73
    return rc;