From: Braden M. <br...@us...> - 2007-05-21 06:36:51
|
Update of /cvsroot/openvrml/openvrml/src/openvrml-player In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32394/src/openvrml-player Modified Files: Tag: OpenVRML-0_16-BRANCH player.cpp Log Message: Fall out of the loop if we get a linefeed even if there is additional input; any additional input would be associated with an additional request. Index: player.cpp =================================================================== RCS file: /cvsroot/openvrml/openvrml/src/openvrml-player/player.cpp,v retrieving revision 1.1.2.22 retrieving revision 1.1.2.23 diff -C2 -d -r1.1.2.22 -r1.1.2.23 *** player.cpp 5 May 2007 06:07:16 -0000 1.1.2.22 --- player.cpp 21 May 2007 06:36:48 -0000 1.1.2.23 *************** *** 701,705 **** if (c != '\n') { req_data.request_line.put(c); } error_guard.dismiss(); ! } while (g_io_channel_get_buffer_condition(source) & G_IO_IN); if (c == '\n') { --- 701,706 ---- if (c != '\n') { req_data.request_line.put(c); } error_guard.dismiss(); ! } while (g_io_channel_get_buffer_condition(source) & G_IO_IN ! && c != '\n'); if (c == '\n') { |