Changeset 20605


Ignore:
Timestamp:
May 5, 2003, 5:26:03 PM (22 years ago)
Author:
sandervl
Message:

change interface name to use standard os2 naming convention

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/src/iphlpapi/iphlpapi.cpp

    r20603 r20605  
    1 /* $Id: iphlpapi.cpp,v 1.14 2003-05-05 15:11:42 sandervl Exp $ */
     1/* $Id: iphlpapi.cpp,v 1.15 2003-05-05 15:26:03 sandervl Exp $ */
    22/*
    33 *      IPHLPAPI library
     
    246246
    247247    pmibTable->table[currentInterface].dwDescrLen = strlen(ifmibget.iftable[i].ifDescr);
    248     strncpy((char *)pmibTable->table[currentInterface].bDescr, ifmibget.iftable[i].ifDescr, sizeof(pmibTable->table[currentInterface].bDescr));
     248    strncpy((char *)pmibTable->table[currentInterface].bDescr, iShortName, strlen(iShortName));
     249//    strncpy((char *)pmibTable->table[currentInterface].bDescr, ifmibget.iftable[i].ifDescr, sizeof(pmibTable->table[currentInterface].bDescr));
    249250
    250251
Note: See TracChangeset for help on using the changeset viewer.