Ignore:
Timestamp:
Mar 10, 2006 12:57:12 PM (18 years ago)
Author:
bennylp
Message:

Fixed compilation and run warnings/errors with MSVC 2005

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_settings.c

    r312 r315  
    1919#include <pjsua-lib/pjsua.h> 
    2020#include <pjsua-lib/getopt.h> 
     21#include <stdio.h> 
    2122 
    2223/* 
     
    594595        userinfo[len] = '\0'; 
    595596     
    596     len = pj_snprintf(buf, size, "%s[%s] %s", 
    597                       title, 
    598                       pjsua_inv_state_names[inv->state], 
    599                       userinfo); 
     597    len = pj_ansi_snprintf(buf, size, "%s[%s] %s", 
     598                           title, 
     599                           pjsua_inv_state_names[inv->state], 
     600                           userinfo); 
    600601    if (len < 1 || len >= (int)size) { 
    601602        pj_ansi_strcpy(buf, "<--uri too long-->"); 
Note: See TracChangeset for help on using the changeset viewer.