commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 42/98: libports: improve error handling in ports_transfer_right


From: Samuel Thibault
Subject: [hurd] 42/98: libports: improve error handling in ports_transfer_right
Date: Tue, 14 Jan 2014 02:00:01 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit c62b1edd42d9522d6277d5ca648f2e4a4214341c
Author: Justus Winter <address@hidden>
Date:   Sat Nov 23 15:30:42 2013 +0100

    libports: improve error handling in ports_transfer_right
    
    * libports/transfer-right.c (ports_transfer_right): Improve error handling.
---
 libports/transfer-right.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libports/transfer-right.c b/libports/transfer-right.c
index e313f71..72488a9 100644
--- a/libports/transfer-right.c
+++ b/libports/transfer-right.c
@@ -77,7 +77,8 @@ ports_transfer_right (void *tostruct,
   
   if (port)
     {
-      hurd_ihash_add (&topi->bucket->htable, port, topi);
+      err = hurd_ihash_add (&topi->bucket->htable, port, topi);
+      assert_perror (err);
       if (topi->bucket != frompi->bucket)
         {
          err = mach_port_move_member (mach_task_self (), port,

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]