~ubuntu-branches/debian/sid/unixodbc/sid

« back to all changes in this revision

Viewing changes to odbcinst/SQLReadFileDSN.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2004-10-15 03:07:52 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041015030752-dzw4vhxlgycz3woj
Tags: 2.2.4-11
Brown paper bag me: conflicts do not write themselves just because
you add a line to the changelog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
 
97
97
 
98
98
        /* SANITY CHECKS */
99
 
        if ( pszString == NULL || nString <= 0  )
 
99
        if ( pszString == NULL || nString < 1  )
100
100
        {
101
101
        inst_logPushMsg( __FILE__, __FILE__, __LINE__, LOG_CRITICAL, ODBC_ERROR_INVALID_BUFF_LEN, "" );
102
102
                return FALSE;