]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Typo
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 31 Oct 2016 19:48:33 +0000 (15:48 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 31 Oct 2016 19:48:33 +0000 (15:48 -0400)
src/modules/rlm_sigtran/event.c

index 5d28bab270657af10ab1e739d5f73e1b768ca561..f958e4701b518e3f30be47e91822b11eb9bee5ae 100644 (file)
@@ -274,7 +274,7 @@ static int event_link_down(sigtran_conn_t *conn)
  */
 static int event_request_respond(struct osmo_fd *ofd, sigtran_transaction_t *txn)
 {
-       uint8_t buff[sizeof(void *))];
+       uint8_t buff[sizeof(void *)];
        uint8_t *p = buff, *end = buff + sizeof(buff);
 
        memcpy(&buff, &txn, sizeof(buff));
@@ -314,7 +314,7 @@ static int event_request_respond(struct osmo_fd *ofd, sigtran_transaction_t *txn
                        if ((ret > 0) && !FD_ISSET(ofd->fd, &error_set)) continue;
                }
 
-               ERROR("Failed writing to pipe (%i): %s", odf->fd, fr_syserror(errno));
+               ERROR("Failed writing to pipe (%i): %s", ofd->fd, fr_syserror(errno));
                return -1;
        }