Changeset 7f1393b in tol


Ignore:
Timestamp:
Oct 2, 2013, 3:02:54 PM (13 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
34e8b37
Parents:
228016b
Message:

refs #1692, buffer size specification was wrong

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@6043 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/dbdrivers/libtolpgsql.c

    r228016b r7f1393b  
    164164{
    165165  const char* pgsqlName = "postgres";
    166   strncpy(dbmsName, pgsqlName, sizeof(pgsqlName)-1);
     166  strncpy(dbmsName, pgsqlName, size);
    167167  return 1;
    168168}
Note: See TracChangeset for help on using the changeset viewer.