diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-07-24 12:13:38 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-07-24 12:13:38 +0200 |
commit | 21d395593e04a0229173bda1bade1a214704d1a3 (patch) | |
tree | fbd417284b2666dcfd4e894b3240e7cba464ee30 | |
parent | d00bcc74a4894db2c6290da3093120b2a1df3cb7 (diff) |
pharo: Allow converting the authorization message as well
We need >>#do: as nextPutAllOn: is not called/doesn't exist in
this dialect.
-rw-r--r-- | callagent/authorization/SIPAuthorization.st | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/callagent/authorization/SIPAuthorization.st b/callagent/authorization/SIPAuthorization.st index b40a4eb..64bcd63 100644 --- a/callagent/authorization/SIPAuthorization.st +++ b/callagent/authorization/SIPAuthorization.st @@ -103,6 +103,10 @@ Object subclass: SIPAuthorization [ url: uri. ] + do: aBlock [ + (String streamContents: [:str | self nextPutAllOn: str]) do: aBlock + ] + nextPutAllOn: aStream [ aStream nextPutAll: 'Digest username="'; |