Fixed an error in the comments. (Bugzilla bug #346002)
authorwtc%netscape.com
Thu, 01 Apr 1999 05:03:37 +0000
changeset 525 625b5c6877029d8613918f13c9b681d6627cc3bf
parent 524 77250f4a4eccc6741ed6e81abd14bc85b438c304
child 526 57f937e88ddf5bfee568c2170b82f247e5e2fddd
push idunknown
push userunknown
push dateunknown
bugs346002
Fixed an error in the comments. (Bugzilla bug #346002) Modified files: prsocket.c, ptio.c
pr/src/io/prsocket.c
pr/src/pthreads/ptio.c
--- a/pr/src/io/prsocket.c
+++ b/pr/src/io/prsocket.c
@@ -1162,17 +1162,17 @@ PR_IMPLEMENT(const PRIOMethods*) PR_GetT
 PR_IMPLEMENT(const PRIOMethods*) PR_GetUDPMethods()
 {
 	return &udpMethods;
 }
 
 static const PRIOMethods* PR_GetSocketPollFdMethods()
 {
     return &socketpollfdMethods;
-}  /* PR_GetUDPMethods */
+}  /* PR_GetSocketPollFdMethods */
 
 
 PR_IMPLEMENT(PRFileDesc*) PR_Socket(PRInt32 domain, PRInt32 type, PRInt32 proto)
 {
 	PRInt32 osfd;
 	int one = 1;
 	PRFileDesc *fd;
 
--- a/pr/src/pthreads/ptio.c
+++ b/pr/src/pthreads/ptio.c
@@ -2837,17 +2837,17 @@ PR_IMPLEMENT(const PRIOMethods*) PR_GetT
 PR_IMPLEMENT(const PRIOMethods*) PR_GetUDPMethods()
 {
     return &_pr_udp_methods;
 }  /* PR_GetUDPMethods */
 
 static const PRIOMethods* PR_GetSocketPollFdMethods()
 {
     return &_pr_socketpollfd_methods;
-}  /* PR_GetUDPMethods */
+}  /* PR_GetSocketPollFdMethods */
 
 PR_IMPLEMENT(PRFileDesc*) PR_AllocFileDesc(
     PRInt32 osfd, const PRIOMethods *methods)
 {
     PRFileDesc *fd = _PR_Getfd();
 
     /*
      * Assert that the file descriptor is small enough to fit in the