Navigation


Changeset 1084:6b7966ea27fb in freeDiameter for libfdproto


Ignore:
Timestamp:
May 3, 2013, 4:33:57 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Fix a few compilation issues

Location:
libfdproto
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libfdproto/messages.c

    r1078 r1084  
    721721{
    722722        int ret = 0;
    723         char buftime[256];
    724         size_t tsoffset = 0;
    725         struct tm tm;
    726723       
    727724        CHECK_FCT( dump_add_str(outstr, offset, outlen, "%*sMSG: %p|", INOBJHDRVAL, msg) );
  • libfdproto/utils.c

    r1080 r1084  
    4444                        snprintf(buf, bufsize, "%s", gai_strerror(rc));
    4545                else
    46                         snprintf(buf, bufsize, "%s", &__addrbuf[0]);
     46                        snprintf(buf, bufsize, "%s", &addrbuf[0]);
    4747        } else {
    4848                snprintf(buf, bufsize, "(NULL / ANY)");
     
    6060                        snprintf(buf, bufsize, "%s", gai_strerror(rc));
    6161                else
    62                         snprintf(buf, bufsize, "%s", &__addrbuf[0]);
     62                        snprintf(buf, bufsize, "%s", &addrbuf[0]);
    6363        } else {
    6464                snprintf(buf, bufsize, "(NULL / ANY)");
Note: See TracChangeset for help on using the changeset viewer.