[coldsync commit] r2613 - trunk/coldsync-ppp

0 views
Skip to first unread message

codesite...@google.com

unread,
Oct 26, 2008, 8:33:12 PM10/26/08
to coldsync...@googlegroups.com
Author: azummo...@towertech.it
Date: Sun Oct 26 17:32:07 2008
New Revision: 2613

Modified:
trunk/coldsync-ppp/coldsync-ppp.c

Log:
Added copyright


Modified: trunk/coldsync-ppp/coldsync-ppp.c
==============================================================================
--- trunk/coldsync-ppp/coldsync-ppp.c (original)
+++ trunk/coldsync-ppp/coldsync-ppp.c Sun Oct 26 17:32:07 2008
@@ -1,3 +1,11 @@
+/* coldsync-ppp.c
+ *
+ * Copyright (C) 2008, Alessandro Zummo.
+ * You may distribute this file under the terms of the Artistic
+ * License, as specified in the README file.
+ *
+ * $Id: $
+ */


#include <stdio.h>
@@ -34,10 +42,10 @@
struct libusb_device_descriptor desc;

int r = libusb_get_device_descriptor(dev, &desc);
- if (r < 0) {
- fprintf(stderr, "failed to get device descriptor");
- return NULL;
- }
+ if (r < 0) {
+ fprintf(stderr, "failed to get device descriptor");
+ return NULL;
+ }

/* XXX mmust check for the devices, not the vendors */
switch (desc.idVendor) {
@@ -47,7 +55,7 @@
case ACEECA_VENDOR_ID:
case GARMIN_VENDOR_ID:
found = dev;
- break;
+ break;
}
}

Reply all
Reply to author
Forward
0 new messages