diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-10 09:07:35 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-10 12:46:49 +0000 |
commit | 9ef72de4812339d34f1e4c5b189d813892484ecf (patch) | |
tree | a63debd4dafa0dfa83764bf9bdc1e7abd7852167 /main/ortp/ortp-0.16.1-retval.patch | |
parent | fcb175a506839b40c111af26ae5f99e9a313338a (diff) | |
download | aports-9ef72de4812339d34f1e4c5b189d813892484ecf.tar.bz2 aports-9ef72de4812339d34f1e4c5b189d813892484ecf.tar.xz |
main/ortp: moved from testing
Diffstat (limited to 'main/ortp/ortp-0.16.1-retval.patch')
-rw-r--r-- | main/ortp/ortp-0.16.1-retval.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/ortp/ortp-0.16.1-retval.patch b/main/ortp/ortp-0.16.1-retval.patch new file mode 100644 index 0000000000..679f8d7d49 --- /dev/null +++ b/main/ortp/ortp-0.16.1-retval.patch @@ -0,0 +1,20 @@ +diff -up ortp-0.16.1/src/stun.c.retval ortp-0.16.1/src/stun.c +--- ortp-0.16.1/src/stun.c.retval 2010-09-04 10:14:53.000000000 +0200 ++++ ortp-0.16.1/src/stun.c 2010-09-04 10:15:10.000000000 +0200 +@@ -1191,6 +1191,7 @@ stunRand(void) + int maxFd=0; + struct timeval tv; + int e; ++ int res; + + int fd=open("/dev/random",O_RDONLY); + +@@ -1213,7 +1214,7 @@ stunRand(void) + closesocket(fd); + return random(); + } +- read(fd,&tick,sizeof(tick)); ++ res = read(fd,&tick,sizeof(tick)); + closesocket(fd); + } + #else |