Avoid referencing nonexistent AgencyId vars
authorJeff Godin <jgodin@tadl.org>
Tue, 30 Jul 2013 17:00:08 +0000 (13:00 -0400)
committerJeff Godin <jgodin@tadl.org>
Tue, 30 Jul 2013 17:00:08 +0000 (13:00 -0400)
commit601be0bb00dfa3b36285ca83462dac02272ae7f5
tree82f18fab4c1c068393d89c2298e5766f46930cda
parent537b6a763ae6ec1a48d1bd9439daa177436f3bf1
Avoid referencing nonexistent AgencyId vars

In fail() and do_user_lookup_error_stanza(), we were attempting to
call staff_log() with values for FromAgencyId and ToAgencyId using
variables which did not exist.

Also, in fail() we were attempting to use those same variables in
the creation of an XML NCIP response.

The above issues would result in "Use of uninitialized value"
warnings, as well preventing use of "use strict".

This commit removes the references to the nonexistent variables,
resulting in the same log and xml output.

A future commit may provide a means for these functions to log the
FromAgencyId and ToAgencyId.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
iNCIPit.cgi