Update of /cvsroot/epp-rtk/epp-rtk/c++/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8019/src
Modified Files:
main_hello.cc
Log Message:
Fixed an issue with the empty extensions element and issues with some operator<< methods
that were unconvered while running the tests against a XML validating
Server Stub.
Index: main_hello.cc
===================================================================
RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_hello.cc,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** main_hello.cc 18 Jul 2003 20:21:19 -0000 1.15
--- main_hello.cc 13 Sep 2005 12:44:08 -0000 1.16
***************
*** 158,163 ****
case OTHER_RECIPIENT: recipient = "other/"; break;
case OURS:
! if ( i->m_rec_desc != NULL ) recipient = "ours>"+*i->m_rec_desc+"</ours";
! break;
case PUBLIK: recipient = "public/"; break;
case SAME: recipient = "same/"; break;
--- 158,169 ----
case OTHER_RECIPIENT: recipient = "other/"; break;
case OURS:
! // JG - Changed to handle NULL m_rec_desc since it is optional
! if ( i->m_rec_desc != NULL ) {
! recipient = "ours>"+*i->m_rec_desc+"</ours";
! }
! else {
! recipient = "ours/";
! }
! break;
case PUBLIK: recipient = "public/"; break;
case SAME: recipient = "same/"; break;
|