~ubuntu-branches/ubuntu/precise/net-snmp/precise

« back to all changes in this revision

Viewing changes to agent/mibgroup/disman/expr/expValue.c

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2009-11-26 01:27:00 UTC
  • mfrom: (1.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091126012700-pox7w0a5j2x305h9
Tags: 5.4.2.1~dfsg-3ubuntu1
* Merge from debian testing.  Remaining changes:
  - Set Ubuntu maintainer address.
  - net-snmp-config: Use bash. (LP: #104738)
  - Removed multiuser option when calling update-rc.d. (LP: #254261)
  - debian/snmpd.init: LSBify the init script.
  - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
    (LP: #250459)
  - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero.
    (LP: #426813).
 * Dropped patches:
   - debian/patches/101-fix-ipalias.patch: Applied upstream.
   - debian/patches/99-fix-net-snmp-syslog.patch: Applied upstream.
   - debian/patches/99-fix-perl-counter-in-subagent.patch: Applied upstream.
   - ebian/patches/103-fix-ubuntu-lmsensors.patch: No longer needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
int ops[128];   /* mapping from operator characters to numeric
24
24
                   tokens (ordered by priority). */
25
25
 
26
 
 
 
26
void
27
27
init_expValue(void)
28
28
{
29
29
DEBUGMSGTL(("disman:expr:eval", "Init expValue"));
322
322
{
323
323
    netsnmp_variable_list *exprAlDente = NULL;
324
324
    netsnmp_variable_list *vtail = NULL;
325
 
    char *cp1, *cp2, *cp3;
 
325
    char *cp1, *cp2;
326
326
    netsnmp_variable_list *var = NULL;
327
 
    int   i, n, level;
 
327
    int   i, n;
328
328
    int   neg = 0;
329
329
    oid   oid_buf[MAX_OID_LEN];
330
330