Changeset 66:ceb29224b3ad in mediastreamer2 for linphone/oRTP/src/stun.c


Ignore:
Timestamp:
Oct 5, 2008 4:35:36 PM (5 years ago)
Author:
aymeric <aymeric@…>
Branch:
default
Message:

rename macro to avoid conflict

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@69 3f6dc0c8-ddfe-455d-9043-3cd528dc4637

File:
1 edited

Legend:

Unmodified
Added
Removed
  • linphone/oRTP/src/stun.c

    r15 r66  
    381381            } 
    382382      } 
    383       else if (atrType == Username) 
     383      else if (atrType == STUNUsername) 
    384384      { 
    385385            msg->hasUsername = TRUE; 
     
    395395            }                                    
    396396      } 
    397       else if (atrType == Password) 
     397      else if (atrType == STUNPassword) 
    398398      { 
    399399            msg->hasPassword = TRUE; 
     
    678678   { 
    679679      if (verbose) ortp_message("stun: Encoding Username: %s\n", msg->username.value ); 
    680       ptr = encodeAtrString(ptr, Username, &msg->username); 
     680      ptr = encodeAtrString(ptr, STUNUsername, &msg->username); 
    681681   } 
    682682   if (msg->hasPassword) 
    683683   { 
    684684      if (verbose) ortp_message("stun: Encoding Password: %s\n", msg->password.value ); 
    685       ptr = encodeAtrString(ptr, Password, &msg->password); 
     685      ptr = encodeAtrString(ptr, STUNPassword, &msg->password); 
    686686   } 
    687687   if (msg->hasErrorCode) 
Note: See TracChangeset for help on using the changeset viewer.