Changeset 1001 for trunk


Ignore:
Timestamp:
Apr 25, 2019, 6:19:07 PM (6 months ago)
Author:
cito
Message:

Use C89 only (PEP 7)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/internal.c

    r991 r1001  
    11331133get_ssl_attributes(PGconn *cnx) {
    11341134    PyObject *attr_dict = NULL;
     1135    const char * const *s;
    11351136
    11361137    if (!(attr_dict = PyDict_New())) {
     
    11381139    }
    11391140
    1140     for (const char * const *s = PQsslAttributeNames(cnx); *s; ++s) {
     1141    for (s = PQsslAttributeNames(cnx); *s; ++s) {
    11411142        const char *val = PQsslAttribute(cnx, *s);
    11421143
Note: See TracChangeset for help on using the changeset viewer.