~ubuntu-branches/ubuntu/utopic/sip-tester/utopic

« back to all changes in this revision

Viewing changes to deadcall.cpp

  • Committer: Package Import Robot
  • Author(s): Mark Purcell, Paul Belanger, Mark Purcell
  • Date: 2011-11-03 21:56:17 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20111103215617-nnxicj1oto9e8ix5
Tags: 1:3.2-1
[ Paul Belanger ]
* New Upstream Release (Closes: #623915).
* Switch to dpkg-source 3.0 (quilt) format
* Building with PCAP play.
* Switch back to Debhelper.
* debian/patches/spelling-error-in-binary: Fix lintian warning

[ Mark Purcell ]
* Drop pabs from Uploaders: at his request
* fix debhelper-overrides-need-versioned-build-depends
* fix description-synopsis-starts-with-article

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
  free(reason);
63
63
}
64
64
 
65
 
bool deadcall::process_incoming(char * msg) {
 
65
bool deadcall::process_incoming(char * msg, struct sockaddr_storage *src) {
66
66
  char buffer[MAX_HEADER_LEN];
67
67
 
68
68
  CStat::globalStat(CStat::E_DEAD_CALL_MSGS);
74
74
  WARNING("%s, received '%s'", buffer, msg);
75
75
 
76
76
  TRACE_MSG("-----------------------------------------------\n"
77
 
             "Dead call %s recieved a %s message:\n\n%s\n",
 
77
             "Dead call %s received a %s message:\n\n%s\n",
78
78
             id, TRANSPORT_TO_STRING(transport), msg);
79
79
 
80
80
  expiration = clock_tick + deadcall_wait;
97
97
  }
98
98
}
99
99
 
100
 
void deadcall::abort() {
101
 
  delete this;
102
 
}
103
 
 
104
100
unsigned int deadcall::wake() {
105
101
  return expiration;
106
102
}