Changeset 264bd473ce8761653c5af349dfb557bcfa32c24d

Show
Ignore:
Timestamp:
05/26/09 19:13:46 (5 years ago)
Author:
Mark Harrison <mark@omniti.com>
git-committer:
Mark Harrison <mark@omniti.com> 1243365226 +0000
git-parent:

[ca9d73251eb8c7b3b365dfb2d87acf145e01705b]

git-author:
Mark Harrison <mark@omniti.com> 1243365226 +0000
Message:

Make C code more portable, refs #137

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/stratcon_datastore.c

    rca9d732 r264bd47  
    269269    int8_t family; 
    270270    struct sockaddr *sin; 
    271     struct sockaddr_in sin4 = { sin_family: AF_INET }; 
    272     struct sockaddr_in6 sin6 = { sin6_family: AF_INET6 }; 
     271    struct sockaddr_in sin4 = { .sin_family = AF_INET }; 
     272    struct sockaddr_in6 sin6 = { .sin6_family = AF_INET6 }; 
    273273    char *remote, *id, *target, *module, *name; 
    274274    PG_GET_STR_COL(remote, i, "remote_address");