projects
/
my-code
/
ivac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
improved webcam.c
[my-code/ivac.git]
/
dgramrcv.c
diff --git
a/dgramrcv.c
b/dgramrcv.c
index
d8ec19e
..
d235b66
100644
(file)
--- a/
dgramrcv.c
+++ b/
dgramrcv.c
@@
-33,7
+33,7
@@
int main(int argc, char *argv[]) {
int receive_bytes, write_bytes;
socklen_t target_addr_len;
- if(argc!=
3
) {
+ if(argc!=
2
) {
printf("usage: %s <port>\n",argv[0]);
exit(1);
}