]> Pileus Git - ~andy/fetchmail/blobdiff - driver.c
Add two comments to lengthy setjmp() code.
[~andy/fetchmail] / driver.c
index fcc6b8d7dfb7f09955c92de73f34af8c8b9ca03f..008a7fa81faa564fd2d3bb276e2f0e5e5ccecf8a 100644 (file)
--- a/driver.c
+++ b/driver.c
@@ -851,6 +851,7 @@ static int do_session(
 
     if ((js = setjmp(restart)))
     {
+       /* exception caught */
 #ifdef HAVE_SIGPROCMASK
        /*
         * Don't rely on setjmp() to restore the blocked-signal mask.
@@ -928,6 +929,7 @@ static int do_session(
     }
     else
     {
+       /* setjmp returned zero -> normal operation */
        char buf[MSGBUFSIZE+1], *realhost;
        int count, new, bytes;
 #ifdef INET6_ENABLE